miniupnpd: make sure "runtime_vars" are initialized

This commit is contained in:
Thomas Bernard 2020-06-20 17:02:19 +02:00
parent 5bbcc0bb65
commit 7a9452fca9
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
1 changed files with 1 additions and 0 deletions

View File

@ -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