Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/blacklist/lib CID/126787{0, 1}: Uninitialized m...
details: https://anonhg.NetBSD.org/src/rev/67cd97a0e11b
branches: trunk
changeset: 335963:67cd97a0e11b
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 02 22:03:45 2015 +0000
description:
CID/126787{0,1}: Uninitialized msg_flags
diffstat:
external/bsd/blacklist/lib/bl.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r c91629f6f634 -r 67cd97a0e11b external/bsd/blacklist/lib/bl.c
--- a/external/bsd/blacklist/lib/bl.c Mon Feb 02 22:01:55 2015 +0000
+++ b/external/bsd/blacklist/lib/bl.c Mon Feb 02 22:03:45 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bl.c,v 1.22 2015/01/22 20:11:33 christos Exp $ */
+/* $NetBSD: bl.c,v 1.23 2015/02/02 22:03:45 christos Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: bl.c,v 1.22 2015/01/22 20:11:33 christos Exp $");
+__RCSID("$NetBSD: bl.c,v 1.23 2015/02/02 22:03:45 christos Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -355,6 +355,7 @@
msg.msg_namelen = 0;
msg.msg_iov = &iov;
msg.msg_iovlen = 1;
+ msg.msg_flags = 0;
msg.msg_control = ua.ctrl;
msg.msg_controllen = sizeof(ua.ctrl);
@@ -404,6 +405,7 @@
msg.msg_namelen = 0;
msg.msg_iov = &iov;
msg.msg_iovlen = 1;
+ msg.msc_flags = 0;
msg.msg_control = ua.ctrl;
msg.msg_controllen = sizeof(ua.ctrl) + 100;
Home |
Main Index |
Thread Index |
Old Index