Open clmcavaney opened 8 years ago
On 04/21/2016 11:21 PM, Christopher McAvaney wrote:
I am finding that the password is retaining the return character (i.e. \n) from the config file. I believe the fault is on lines 1439 to 1444 of ssmtp.c ([https://github.com/fernando-rodriguez/ssmtp-reloaded/blob/master/ssmtp.c#L1439-L1444]) The should be before the strdup() call or the strdup() should be of the value pointer (i.e. 'q') and not the rightside.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/fernando-rodriguez/ssmtp-reloaded/issues/4
You're right, there's something wrong there, I'm not sure why it works for some. Thanks for the report. Check back tomorrow and I'll have a fix.
Commit 9bfaf057 (staging branch) should fix it. I just need to do more testing before merging it.
I am finding that the password is retaining the return character (i.e. \n) from the config file. I believe the fault is on lines 1439 to 1444 of ssmtp.c ([https://github.com/fernando-rodriguez/ssmtp-reloaded/blob/master/ssmtp.c#L1439-L1444]) The should be before the strdup() call or the strdup() should be of the value pointer (i.e. 'q') and not the rightside.