mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 10:49:59 -04:00
4640. [bug] If query_findversion failed in query_getdb due to
memory failure the error status was incorrectly
discarded. [RT #45331]
(cherry picked from commit b551ee14bd)
This commit is contained in:
parent
68c2253cf5
commit
18bb24bc37
2 changed files with 5 additions and 1 deletions
4
CHANGES
4
CHANGES
|
|
@ -1,3 +1,7 @@
|
|||
4640. [bug] If query_findversion failed in query_getdb due to
|
||||
memory failure the error status was incorrectly
|
||||
discarded. [RT #45331]
|
||||
|
||||
4636. [bug] Normalize rpz policy zone names when checking for
|
||||
existence. [RT #45358]
|
||||
|
||||
|
|
|
|||
|
|
@ -1224,7 +1224,7 @@ query_getdb(ns_client_t *client, dns_name_t *name, dns_rdatatype_t qtype,
|
|||
|
||||
dbversion = query_findversion(client, tdbp);
|
||||
if (dbversion == NULL) {
|
||||
result = ISC_R_NOMEMORY;
|
||||
tresult = ISC_R_NOMEMORY;
|
||||
} else {
|
||||
/*
|
||||
* Be sure to return our database.
|
||||
|
|
|
|||
Loading…
Reference in a new issue