pkgsrc/mail/exim3/patches/patch-ag
abs 4e437bb2bc Update exim3 to exim-3.36nb2
- Fix buffer overflows listed at http://www.guninski.com/exim1.html

Update exim to exim-4.33nb1 (from 4.22nb5)
  - Fix buffer overflow listed at http://www.guninski.com/exim1.html
  - Leave nb1 to indicate we have a local change from stock 4.33
  - 1086 lines of changes - http://www.exim.org/ftp/ChangeLogs/ChangeLog-4.33
  - Remove dependancy on exim-user - now looks up EXIM_{USER,GROUP} at runtime

Update exim-exiscan to 4.33_20nb1 (from 4.22-12)
  - Fix buffer overflow listed at http://www.guninski.com/exim1.html
  - Leave nb1 to indicate we have a local change from stock 4.33_20
  - Same exim changes - http://www.exim.org/ftp/ChangeLogs/ChangeLog-4.33
  - Changes (http://duncanthrax.net/exiscan-acl/CHANGELOG) include
    - added option to use multiple spamd servers
    - many mime changes
    - Added Brightmail Antispam support
    - clamd fixes

Update exim-html to 4.30 (from 4.20)
  - Update to latest docs

Delete exim-user
  - No longer required - exim now looks up EXIM_{USER,GROUP} at runtime
2004-05-07 17:47:32 +00:00

22 lines
919 B
Text

$NetBSD: patch-ag,v 1.2 2004/05/07 17:47:32 abs Exp $
--- src/verify.c.orig Thu Apr 4 13:56:21 2002
+++ src/verify.c
@@ -892,7 +892,7 @@ if (!sender_verify_reject || (rc == DEFE
/* Set up the key for the reject hints database, and attempt to open it.
If successful, read the record. */
-sprintf(buffer, "%s:%.200s", sender_address,
+snprintf(buffer, sizeof(buffer), "%s:%.200s", sender_address,
(sender_host_name != NULL)? sender_host_name :
(sender_host_address != NULL)? sender_host_address : "");
@@ -1182,7 +1182,7 @@ if (sender_verify_callback_error != NULL
O_WRONLY) is needed by Berkeley native DB even when reading only. If the
database won't open, we can do no more. */
-sprintf(buffer, "%s:%.200s", sender_address,
+snprintf(buffer, sizeof(buffer), "%s:%.200s", sender_address,
(sender_host_name != NULL)? sender_host_name :
(sender_host_address != NULL)? sender_host_address : "");