Fix a remote heap overflow in exim, though it's probably not exploitable.
http://www.exim.org/pipermail/exim-announce/2003q3/000094.html ok pvalchev@
This commit is contained in:
parent
308d7d90b4
commit
8bf6894c96
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.35 2002/12/07 16:34:57 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.36 2003/09/03 17:21:05 brad Exp $
|
||||
|
||||
COMMENT= "flexible mail transfer agent"
|
||||
|
||||
VERSION= 3.36
|
||||
VERSION_DOC= 3.30
|
||||
DISTNAME= exim-${VERSION}
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
CATEGORIES= mail
|
||||
|
||||
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim3/ \
|
||||
|
21
mail/exim/patches/patch-src_smtp_in_c
Normal file
21
mail/exim/patches/patch-src_smtp_in_c
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-src_smtp_in_c,v 1.1 2003/09/03 17:21:05 brad Exp $
|
||||
--- src/smtp_in.c.orig 2003-09-02 19:31:50.000000000 -0400
|
||||
+++ src/smtp_in.c 2003-09-02 19:33:51.000000000 -0400
|
||||
@@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user