Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > by-pkgid > 54e8128ccfda0453cd0c90177762677e > files > 2

clamsmtp-1.9-alt2.src.rpm

--- clamsmtp-1.9/common/smtppass.c.strncat	2007-05-27 04:00:18 +0400
+++ clamsmtp-1.9/common/smtppass.c	2007-11-28 12:45:51 +0300
@@ -1817,7 +1817,7 @@ static void vmessage(spctx_t* ctx, int l
         strerror_r(e, buf + len, MAX_MSGLEN - len); */
             
         sp_lock();
-            strncat(buf, strerror(e), MAX_MSGLEN);
+            strlcat(buf, strerror(e), MAX_MSGLEN);
         sp_unlock();
     }