rpms/ssmtp/FC-5 ssmtp-authpass.patch,NONE,1.1

Manuel Wolfshant wolfy at fedoraproject.org
Wed Nov 26 16:39:14 UTC 2008


Author: wolfy

Update of /cvs/pkgs/rpms/ssmtp/FC-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2275

Added Files:
	ssmtp-authpass.patch 
Log Message:
fix to correctly parse AuthPass password


ssmtp-authpass.patch:

--- NEW FILE ssmtp-authpass.patch ---
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");
 				}
 




More information about the fedora-extras-commits mailing list