mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
2232. [bug] dns_adb_findaddrinfo() could fail and return
ISC_R_SUCCESS. [RT #17137]
This commit is contained in:
parent
10b4a0c3a4
commit
85db2b5fb3
3
CHANGES
3
CHANGES
@ -1,3 +1,6 @@
|
||||
2232. [bug] dns_adb_findaddrinfo() could fail and return
|
||||
ISC_R_SUCCESS. [RT #17137]
|
||||
|
||||
2231. [bug] Building dlzbdb (contrib/dlz/bin/dlzbdb) was broken.
|
||||
[RT #17088]
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: adb.c,v 1.231 2007/06/18 23:47:40 tbox Exp $ */
|
||||
/* $Id: adb.c,v 1.232 2007/09/11 02:18:38 marka Exp $ */
|
||||
|
||||
/*! \file
|
||||
*
|
||||
@ -3471,7 +3471,9 @@ dns_adb_findaddrinfo(dns_adb_t *adb, isc_sockaddr_t *sa,
|
||||
|
||||
port = isc_sockaddr_getport(sa);
|
||||
addr = new_adbaddrinfo(adb, entry, port);
|
||||
if (addr != NULL) {
|
||||
if (addr == NULL) {
|
||||
result = ISC_R_NOMEMORY;
|
||||
} else {
|
||||
inc_entry_refcnt(adb, entry, ISC_FALSE);
|
||||
*addrp = addr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user