mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
3843. [protocol] Check EDNS EXPIRE option in dns_rdata_fromwire.
[RT #35969] Conflicts: CHANGES
This commit is contained in:
parent
1b513b6120
commit
0e338b60cd
3
CHANGES
3
CHANGES
@ -2,6 +2,9 @@
|
||||
Redistributable when built for 64 bit Windows.
|
||||
(Thanks to Giovanni Paterno.) [RT #35973]
|
||||
|
||||
3843. [protocol] Check EDNS EXPIRE option in dns_rdata_fromwire.
|
||||
[RT #35969]
|
||||
|
||||
3842. [bug] Adjust RRL log-only logging category. [RT #35945]
|
||||
|
||||
3841. [cleanup] Refactor zone.c:add_opt to use dns_message_buildopt.
|
||||
|
@ -151,13 +151,14 @@ fromwire_opt(ARGS_FROMWIRE) {
|
||||
isc_region_consume(&sregion, addrbytes);
|
||||
break;
|
||||
}
|
||||
#ifdef notyet
|
||||
case DNS_OPT_EXPIRE:
|
||||
/*
|
||||
* Request has zero length. Response is 32 bits.
|
||||
*/
|
||||
if (length != 0 && length != 4)
|
||||
return (DNS_R_FORMERR);
|
||||
isc_region_consume(&sregion, length);
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
isc_region_consume(&sregion, length);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user