Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/gnu/dist/sendmail/sendmail Apply patch (requested by ad...
details: https://anonhg.NetBSD.org/src/rev/e02bf9301e39
branches: netbsd-2-0
changeset: 564992:e02bf9301e39
user: tron <tron%NetBSD.org@localhost>
date: Wed Sep 06 07:01:37 2006 +0000
description:
Apply patch (requested by adrianp in ticket #10689):
Fixes potential DoS attack with sendmail(8).
diffstat:
gnu/dist/sendmail/sendmail/main.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 21c8494e28c9 -r e02bf9301e39 gnu/dist/sendmail/sendmail/main.c
--- a/gnu/dist/sendmail/sendmail/main.c Tue Aug 29 06:40:46 2006 +0000
+++ b/gnu/dist/sendmail/sendmail/main.c Wed Sep 06 07:01:37 2006 +0000
@@ -1,7 +1,7 @@
-/* $NetBSD: main.c,v 1.13 2004/03/25 19:14:31 atatat Exp $ */
+/* $NetBSD: main.c,v 1.13.2.1 2006/09/06 07:01:37 tron Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.13 2004/03/25 19:14:31 atatat Exp $");
+__RCSID("$NetBSD: main.c,v 1.13.2.1 2006/09/06 07:01:37 tron Exp $");
#endif
/*
@@ -2916,6 +2916,9 @@
dropenvelope(CurEnv, true, false);
sm_rpool_free(CurEnv->e_rpool);
CurEnv->e_rpool = NULL;
+
+ /* this may have pointed to the rpool */
+ CurEnv->e_to = NULL;
}
else
poststats(StatFile);
Home |
Main Index |
Thread Index |
Old Index