mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
Fix a crash while parsing malformed CAA RRs in presentation format (#39003)
This commit is contained in:
parent
ab103cf2ca
commit
f9f81abff0
6
CHANGES
6
CHANGES
@ -1,3 +1,9 @@
|
|||||||
|
4090. [bug] Fix a crash while parsing malformed CAA RRs in
|
||||||
|
presentation format, i.e., from text such as
|
||||||
|
from master files. Thanks to John Van de
|
||||||
|
Meulebrouck Brendgard for discovering and
|
||||||
|
reporting this problem. [RT #39003]
|
||||||
|
|
||||||
4089. [bug] Send notifies immediately for slave zones during
|
4089. [bug] Send notifies immediately for slave zones during
|
||||||
startup. [RT #38843]
|
startup. [RT #38843]
|
||||||
|
|
||||||
|
BIN
bin/tests/system/checkzone/zones/bad-caa-rr.db
Normal file
BIN
bin/tests/system/checkzone/zones/bad-caa-rr.db
Normal file
Binary file not shown.
@ -68,7 +68,7 @@ fromtext_caa(ARGS_FROMTEXT) {
|
|||||||
ISC_FALSE));
|
ISC_FALSE));
|
||||||
tr = token.value.as_textregion;
|
tr = token.value.as_textregion;
|
||||||
for (i = 0; i < tr.length; i++)
|
for (i = 0; i < tr.length; i++)
|
||||||
if (!alphanumeric[(unsigned int) tr.base[i]])
|
if (!alphanumeric[(unsigned char) tr.base[i]])
|
||||||
RETTOK(DNS_R_SYNTAX);
|
RETTOK(DNS_R_SYNTAX);
|
||||||
RETERR(uint8_tobuffer(tr.length, target));
|
RETERR(uint8_tobuffer(tr.length, target));
|
||||||
RETERR(mem_tobuffer(target, tr.base, tr.length));
|
RETERR(mem_tobuffer(target, tr.base, tr.length));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user