pkgsrc/mail/exim3/patches/patch-ad
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

13 lines
430 B
Text

$NetBSD: patch-ad,v 1.1 2004/05/07 17:47:32 abs Exp $
--- src/accept.c.orig Thu Apr 4 13:56:16 2002
+++ src/accept.c
@@ -1895,7 +1895,7 @@ if (headers_check_syntax)
char *verb = "is";
int len;
- while (*t != ':') *tt++ = *t++;
+ while (*t != ':' && tt < &hname[sizeof(hname)-2]) *tt++ = *t++;
*tt = 0;
/* Arrange not to include any white space at the end in the