Package: ssmtp
Version: 2.61
Severity: normal
Tags: patch

Patch attached for bug #315248.
*** ssmtp.c.orig        Fri Jul 23 00:58:48 2004
--- ssmtp.c     Sun Sep  3 21:13:57 2006
***************
*** 480,485 ****
--- 480,490 ----
                                die("from_format() -- snprintf() failed");
                        }
                }
+               else {
+                       if(snprintf(buf, BUF_SZ, "%s", str) == -1) {
+                               die("from_format() -- snprintf() failed");
+                       }
+               }
        }
  
  #if 0

Reply via email to