Module Name:    src
Committed By:   christos
Date:           Wed Mar 26 17:09:35 UTC 2025

Modified Files:
        src/external/bsd/blocklist/bin: blocklistd.c

Log Message:
Also initialize conf (jlduran)


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/blocklist/bin/blocklistd.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/blocklist/bin/blocklistd.c
diff -u src/external/bsd/blocklist/bin/blocklistd.c:1.9 src/external/bsd/blocklist/bin/blocklistd.c:1.10
--- src/external/bsd/blocklist/bin/blocklistd.c:1.9	Tue Mar 25 20:12:49 2025
+++ src/external/bsd/blocklist/bin/blocklistd.c	Wed Mar 26 13:09:35 2025
@@ -1,4 +1,4 @@
-/*	$NetBSD: blocklistd.c,v 1.9 2025/03/26 00:12:49 christos Exp $	*/
+/*	$NetBSD: blocklistd.c,v 1.10 2025/03/26 17:09:35 christos Exp $	*/
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 #ifdef HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
 #endif
-__RCSID("$NetBSD: blocklistd.c,v 1.9 2025/03/26 00:12:49 christos Exp $");
+__RCSID("$NetBSD: blocklistd.c,v 1.10 2025/03/26 17:09:35 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/socket.h>
@@ -179,6 +179,7 @@ process(bl_t bl)
 	struct timespec ts;
 
 	memset(&dbi, 0, sizeof(dbi));
+	memset(&c, 0, sizeof(c));
 	if (clock_gettime(CLOCK_REALTIME, &ts) == -1) {
 		(*lfun)(LOG_ERR, "clock_gettime failed (%m)");
 		return;

Reply via email to