Bug 970123
| Summary: | AuthPass value containing '=' fails to authenticate | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Steeve McCauley <steeve.mccauley> |
| Component: | ssmtp | Assignee: | manuel wolfshant <manuel.wolfshant> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | manuel.wolfshant |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ssmtp-2.64-7.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-04 00:52:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Steeve McCauley
2013-06-03 13:44:34 UTC
I noticed that in fedora 17 there were a bunch of patches applied to this package, but apparently are not included in f18.
This patch in particular would solve this issue,
diff -up ssmtp-2.61/ssmtp.c.orig ssmtp-2.61/ssmtp.c
--- ssmtp-2.61/ssmtp.c.orig 2008-11-26 17:27:29.000000000 +0200
+++ ssmtp-2.61/ssmtp.c 2008-11-26 17:25:36.000000000 +0200
@@ -1051,7 +1051,8 @@ bool_t read_config()
}
}
else if(strcasecmp(p, "AuthPass") == 0 && !auth_pass) {
- if((auth_pass = strdup(q)) == (char *)NULL) {
+ auth_pass = firsttok(&rightside, " \n\t");
+ if(auth_pass == (char *)NULL) {
die("parse_config() -- strdup() failed");
}
ssmtp-2.64-7.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/ssmtp-2.64-7.fc18 Package ssmtp-2.64-7.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ssmtp-2.64-7.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-10229/ssmtp-2.64-7.fc18 then log in and leave karma (feedback). ssmtp-2.64-7.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/ssmtp-2.64-7.fc19 ssmtp-2.64-7.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. ssmtp-2.64-7.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |