Magellan Linux

Contents of /trunk/ssmtp/patches/ssmtp-2.61-bug127592.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 385 byte(s)
-import

1 diff -u ssmtp-2.61.orig/ssmtp.c ssmtp-2.61/ssmtp.c
2 --- ssmtp-2.61.orig/ssmtp.c 2004-07-22 23:58:48.000000000 -0600
3 +++ ssmtp-2.61/ssmtp.c 2006-05-04 22:56:35.000000000 -0600
4 @@ -480,6 +480,11 @@
5 die("from_format() -- snprintf() failed");
6 }
7 }
8 + else {
9 + if(snprintf(buf, BUF_SZ, "%s", str) == -1) {
10 + die("from_format() -- snprintf() failed");
11 + }
12 + }
13 }
14
15 #if 0