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

result in an assertion failure. (CVE-2015-5477)
                        [RT #40046]
This commit is contained in:
Mark Andrews
2015-07-14 14:48:42 +10:00
parent faa3b61828
commit dbb064aa79
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

@@ -654,6 +654,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) {