This patch should fix the problem:

--- main.c.orig 2005-05-09 03:29:59.000000000 -0400
+++ main.c      2005-05-09 03:30:37.000000000 -0400
@@ -415,7 +415,7 @@
                standardise(buf);
 */

-               SMTP_write(sock, ht->string);
+               SMTP_write(sock, "%s", ht->string);
                ht = ht->next;
        }

The nature of the issue should be obvious from this patch.  The problem
is fixed in more recent versions of debian (see ssmtp 2.61-3, ssmtp.c,
line 1522) due to substantial rewriting (not sure exactly when the fix
was introduced, though).

I checked over both versions for similar issues.  ssmtp-2.61 is clean
(though ssmtp.c line 1424 looks problematic it is not because the buffer
contains base64-encoded data).  ssmtp-2.50.6.1 just has the issue
mentioned here, and is otherwise fine.

HTH,
-Peff


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to