artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f028a3d
)
avoid a potential double free
author
jsg
<jsg@openbsd.org>
Mon, 26 Oct 2015 09:22:03 +0000
(09:22 +0000)
committer
jsg
<jsg@openbsd.org>
Mon, 26 Oct 2015 09:22:03 +0000
(09:22 +0000)
ok gilles@
usr.sbin/smtpd/mda.c
patch
|
blob
|
history
diff --git
a/usr.sbin/smtpd/mda.c
b/usr.sbin/smtpd/mda.c
index
0ea145f
..
e298938
100644
(file)
--- a/
usr.sbin/smtpd/mda.c
+++ b/
usr.sbin/smtpd/mda.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: mda.c,v 1.11
0 2015/10/11 12:09:06 sunil Exp $
*/
+/* $OpenBSD: mda.c,v 1.11
1 2015/10/26 09:22:03 jsg Exp $
*/
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@
-511,6
+511,7
@@
mda_io(struct io *io, int evt)
}
free(ln);
+ ln = NULL;
if (ferror(s->datafp)) {
log_debug("debug: mda: ferror on session %016"PRIx64,
s->id);