mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-28 04:34:54 +02:00
- Fix initialisation errors reported by gcc sanitizer.
This commit is contained in:
@@ -374,6 +374,7 @@ main(int argc, char* argv[])
|
||||
(void)unsetenv("NOTIFY_SOCKET");
|
||||
#endif /* HAVE_SYSTEMD */
|
||||
|
||||
checklock_start();
|
||||
log_init(NULL, 0, NULL);
|
||||
/* determine commandline options for the daemon */
|
||||
pass_argc = 1;
|
||||
|
||||
+1
-1
@@ -861,6 +861,7 @@ void ecdsa_evp_workaround_init(void);
|
||||
int
|
||||
main(int argc, char* argv[])
|
||||
{
|
||||
checklock_start();
|
||||
log_init(NULL, 0, NULL);
|
||||
if(argc != 1) {
|
||||
printf("usage: %s\n", argv[0]);
|
||||
@@ -888,7 +889,6 @@ main(int argc, char* argv[])
|
||||
if(NSS_NoDB_Init(".") != SECSuccess)
|
||||
fatal_exit("could not init NSS");
|
||||
#endif /* HAVE_SSL or HAVE_NSS*/
|
||||
checklock_start();
|
||||
authzone_test();
|
||||
neg_test();
|
||||
rnd_test();
|
||||
|
||||
Reference in New Issue
Block a user