artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb95351
)
in function used for tracing, display unknown lookup types as "???"
author
gilles
<gilles@openbsd.org>
Mon, 1 May 2017 09:29:07 +0000
(09:29 +0000)
committer
gilles
<gilles@openbsd.org>
Mon, 1 May 2017 09:29:07 +0000
(09:29 +0000)
diff from Wolf480pl
usr.sbin/smtpd/table.c
patch
|
blob
|
history
diff --git
a/usr.sbin/smtpd/table.c
b/usr.sbin/smtpd/table.c
index
21ee237
..
afb7178
100644
(file)
--- a/
usr.sbin/smtpd/table.c
+++ b/
usr.sbin/smtpd/table.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: table.c,v 1.2
3 2016/01/04 13:30:20 jung Exp $
*/
+/* $OpenBSD: table.c,v 1.2
4 2017/05/01 09:29:07 gilles Exp $
*/
/*
* Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
@@
-694,6
+694,7
@@
table_dump_lookup(enum table_service s, union lookup *lk)
break;
default:
+ (void)strlcpy(buf, "???", sizeof(buf));
break;
}