4e437bb2bc
- 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
22 lines
884 B
Text
22 lines
884 B
Text
$NetBSD: patch-af,v 1.2 2004/05/07 17:47:32 abs Exp $
|
|
|
|
--- src/smtp_in.c.orig Thu Apr 4 13:56:20 2002
|
|
+++ src/smtp_in.c
|
|
@@ -2021,13 +2021,12 @@ while (done <= 0)
|
|
|
|
if (!check_helo(smtp_data))
|
|
{
|
|
- char *s;
|
|
- smtp_printf("501 syntactically invalid %s argument(s)\r\n", hello);
|
|
- if (*smtp_data == 0) strcpy(smtp_data, "(no argument given)");
|
|
- s = string_printing(smtp_data);
|
|
+ smtp_printf("501 Syntactically invalid %s argument(s)\r\n", hello);
|
|
log_write(0, LOG_MAIN|LOG_REJECT, "rejected %s from %s: syntactically "
|
|
"invalid argument(s): %s", hello,
|
|
- (sender_fullhost == NULL)? "local process" : sender_fullhost, s);
|
|
+ (sender_fullhost == NULL)? "local process" : sender_fullhost,
|
|
+ (*smtp_data == 0)? "(no argument given)" :
|
|
+ string_printing(smtp_data));
|
|
break;
|
|
}
|
|
|