Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/dhcpcd/dist CID 1341552: Fix NULL deref.
details: https://anonhg.NetBSD.org/src/rev/c8351f0d0e84
branches: trunk
changeset: 812183:c8351f0d0e84
user: christos <christos%NetBSD.org@localhost>
date: Thu Dec 03 21:04:06 2015 +0000
description:
CID 1341552: Fix NULL deref.
diffstat:
external/bsd/dhcpcd/dist/common.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 57a2e1ded204 -r c8351f0d0e84 external/bsd/dhcpcd/dist/common.c
--- a/external/bsd/dhcpcd/dist/common.c Thu Dec 03 21:01:50 2015 +0000
+++ b/external/bsd/dhcpcd/dist/common.c Thu Dec 03 21:04:06 2015 +0000
@@ -1,5 +1,5 @@
#include <sys/cdefs.h>
- __RCSID("$NetBSD: common.c,v 1.15 2015/11/30 16:33:00 roy Exp $");
+ __RCSID("$NetBSD: common.c,v 1.16 2015/12/03 21:04:06 christos Exp $");
/*
* dhcpcd - DHCP client daemon
@@ -167,7 +167,7 @@
#endif
if ((ctx == NULL || !(ctx->options & DHCPCD_QUIET)) &&
- (pri < LOG_DEBUG || (ctx->options & DHCPCD_DEBUG)))
+ (pri < LOG_DEBUG || (ctx && ctx->options & DHCPCD_DEBUG)))
{
va_list vac;
Home |
Main Index |
Thread Index |
Old Index