artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38c8fc5
)
missing memset in table_api.c (currently only used by pluggable tables)
author
gilles
<gilles@openbsd.org>
Mon, 11 Aug 2014 09:50:51 +0000
(09:50 +0000)
committer
gilles
<gilles@openbsd.org>
Mon, 11 Aug 2014 09:50:51 +0000
(09:50 +0000)
diff from Martijn van Duren
usr.sbin/smtpd/table_api.c
patch
|
blob
|
history
diff --git
a/usr.sbin/smtpd/table_api.c
b/usr.sbin/smtpd/table_api.c
index
c5c4239
..
48d70a8
100644
(file)
--- a/
usr.sbin/smtpd/table_api.c
+++ b/
usr.sbin/smtpd/table_api.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: table_api.c,v 1.
5 2014/07/08 13:49:09 eric Exp $
*/
+/* $OpenBSD: table_api.c,v 1.
6 2014/08/11 09:50:51 gilles Exp $
*/
/*
* Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
@@
-138,6
+138,7
@@
table_msg_dispatch(void)
char res[4096];
int type, r;
+ memset(res, 0, sizeof res);
switch (imsg.hdr.type) {
case PROC_TABLE_OPEN:
table_msg_get(&op, sizeof op);