3518. [bug] Increase the size of dns_rrl_key.s.rtype by one bit
so that all dns_rrl_rtype_t enum values fit regardless
of whether it is teated as signed or unsigned by
the compiler. [RT #32792]
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -1,3 +1,8 @@
|
||||
3518. [bug] Increase the size of dns_rrl_key.s.rtype by one bit
|
||||
so that all dns_rrl_rtype_t enum values fit regardless
|
||||
of whether it is teated as signed or unsigned by
|
||||
the compiler. [RT #32792]
|
||||
|
||||
3517. [bug] Reorder destruction to avoid shutdown race. [RT #32777]
|
||||
|
||||
3516. [placeholder]
|
||||
|
||||
@@ -95,7 +95,7 @@ union dns_rrl_key {
|
||||
isc_uint32_t qname_hash;
|
||||
dns_rdatatype_t qtype;
|
||||
isc_uint8_t qclass;
|
||||
dns_rrl_rtype_t rtype :3;
|
||||
dns_rrl_rtype_t rtype :4; /* 3 bits + sign bit */
|
||||
isc_boolean_t ipv6 :1;
|
||||
} s;
|
||||
isc_uint16_t w[1];
|
||||
|
||||
Reference in New Issue
Block a user