2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

4640. [bug] If query_findversion failed in query_getdb due to

memory failure the error status was incorrectly
                        discarded. [RT #45331]
This commit is contained in:
Mark Andrews
2017-06-23 17:17:28 +10:00
parent 77a95c35b9
commit b551ee14bd
2 changed files with 5 additions and 1 deletions

View File

@@ -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]
4639. [bug] Fix a regression in --with-tuning reporting introduced
by change 4488. [RT #45396]

View File

@@ -1520,7 +1520,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.