Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 915748 Details for
Bug 258018
mail-mta/ssmtp-2.62-r8: blank password sent if ssmtp.conf defines password containing '#'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ssmtp-2.64_p12-embedded-hashes-are-not-comments.patch
embedded-hashes-are-not-comments.patch (text/plain), 591 bytes, created by
Matt Whitlock
on 2025-01-02 22:38:40 UTC
(
hide
)
Description:
ssmtp-2.64_p12-embedded-hashes-are-not-comments.patch
Filename:
MIME Type:
Creator:
Matt Whitlock
Created:
2025-01-02 22:38:40 UTC
Size:
591 bytes
patch
obsolete
>diff -Naur a/ssmtp.c b/ssmtp.c >--- a/ssmtp.c 2025-01-02 22:27:38.613972720 +0000 >+++ b/ssmtp.c 2025-01-02 22:28:52.255602481 +0000 >@@ -940,13 +940,10 @@ > while(fgets(buf, sizeof(buf), fp)) { > char *begin=buf; > char *rightside; >- /* Make comments invisible */ >- if((p = strchr(buf, '#'))) { >- *p = 0; >- } > > /* Ignore malformed lines and comments */ >- if(strchr(buf, '=') == (char *)NULL) continue; >+ while(isblank((unsigned char)*begin)) ++begin; >+ if(*begin == '#' || strchr(buf, '=') == (char *)NULL) continue; > > /* Parse out keywords */ > p=firsttok(&begin, "= \t\n");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258018
:
242899
| 915748