4165. [bug] An failure to reset a value to NULL in tkey.c could

result in an assertion failure. (CVE-2015-5477)
                        [RT #40046]

(cherry picked from commit dbb064aa79)
This commit is contained in:
Mark Andrews 2015-07-14 14:48:42 +10:00
parent cc1a709402
commit 5dc3a1c3d3
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
4165. [bug] An failure to reset a value to NULL in tkey.c could
result in an assertion failure. (CVE-2015-5477)
[RT #40046]
4164. [bug] Don't rename slave files and journals on out of memory.
[RT #40033]

View file

@ -649,6 +649,7 @@ dns_tkey_processquery(dns_message_t *msg, dns_tkeyctx_t *tctx,
* Try the answer section, since that's where Win2000
* puts it.
*/
name = NULL;
if (dns_message_findname(msg, DNS_SECTION_ANSWER, qname,
dns_rdatatype_tkey, 0, &name,
&tkeyset) != ISC_R_SUCCESS) {