We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a023a9a commit f647a6bCopy full SHA for f647a6b
1 file changed
external/bsd/blocklist/bin/blocklistd.c
@@ -1,4 +1,4 @@
1
-/* $NetBSD: blocklistd.c,v 1.8 2025/02/11 17:48:30 christos Exp $ */
+/* $NetBSD: blocklistd.c,v 1.9 2025/03/26 00:12:49 christos Exp $ */
2
3
/*-
4
* Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
35
#ifdef HAVE_SYS_CDEFS_H
36
#include <sys/cdefs.h>
37
#endif
38
-__RCSID("$NetBSD: blocklistd.c,v 1.8 2025/02/11 17:48:30 christos Exp $");
+__RCSID("$NetBSD: blocklistd.c,v 1.9 2025/03/26 00:12:49 christos Exp $");
39
40
#include <sys/types.h>
41
#include <sys/socket.h>
@@ -178,6 +178,7 @@ process(bl_t bl)
178
struct dbinfo dbi;
179
struct timespec ts;
180
181
+ memset(&dbi, 0, sizeof(dbi));
182
if (clock_gettime(CLOCK_REALTIME, &ts) == -1) {
183
(*lfun)(LOG_ERR, "clock_gettime failed (%m)");
184
return;
0 commit comments