Module Name:    src
Committed By:   christos
Date:           Mon Feb  2 22:03:45 UTC 2015

Modified Files:
        src/external/bsd/blacklist/lib: bl.c

Log Message:
CID/126787{0,1}:  Uninitialized msg_flags


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/external/bsd/blacklist/lib/bl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/blacklist/lib/bl.c
diff -u src/external/bsd/blacklist/lib/bl.c:1.22 src/external/bsd/blacklist/lib/bl.c:1.23
--- src/external/bsd/blacklist/lib/bl.c:1.22	Thu Jan 22 15:11:33 2015
+++ src/external/bsd/blacklist/lib/bl.c	Mon Feb  2 17:03:45 2015
@@ -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 @@ bl_send(bl_t b, bl_type_t e, int pfd, co
 	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 @@ bl_recv(bl_t b)
 	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;

Reply via email to