mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix (unlikely) memory leak in nb_dns.c
This commit is contained in:
parent
884f47a994
commit
445e5bfc18
3 changed files with 8 additions and 1 deletions
6
CHANGES
6
CHANGES
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
2.5-402 | 2018-02-05 10:43:59 -0600
|
||||||
|
|
||||||
|
* Fix (unlikely) memory leak in nb_dns.c (Corelight)
|
||||||
|
|
||||||
|
* Remove bro-plugins submodule from .gitmodules file (Daniel Thayer)
|
||||||
|
|
||||||
2.5-399 | 2018-01-30 14:31:45 -0800
|
2.5-399 | 2018-01-30 14:31:45 -0800
|
||||||
|
|
||||||
* Adapt the X509 analyzer to partially support OpenSSL 1.1.
|
* Adapt the X509 analyzer to partially support OpenSSL 1.1.
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
2.5-399
|
2.5-402
|
||||||
|
|
|
@ -166,6 +166,7 @@ nb_dns_init(char *errstr)
|
||||||
}
|
}
|
||||||
|
|
||||||
snprintf(errstr, NB_DNS_ERRSIZE, "no valid nameservers in resolver config");
|
snprintf(errstr, NB_DNS_ERRSIZE, "no valid nameservers in resolver config");
|
||||||
|
free(nd);
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue