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/6c0074aa57a0
branches: trunk
changeset: 342041:6c0074aa57a0
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 07a752494250 -r 6c0074aa57a0 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