From 7a9452fca9a266dca25cc22881b112631184da42 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sat, 20 Jun 2020 17:02:19 +0200 Subject: [PATCH] miniupnpd: make sure "runtime_vars" are initialized --- miniupnpd/miniupnpd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/miniupnpd/miniupnpd.c b/miniupnpd/miniupnpd.c index 23daa8d..7779557 100644 --- a/miniupnpd/miniupnpd.c +++ b/miniupnpd/miniupnpd.c @@ -2112,6 +2112,7 @@ main(int argc, char * * argv) return 0; } } + memset(&v, 0, sizeof(v)); if(init(argc, argv, &v) != 0) return 1; #ifdef ENABLE_HTTPS