mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 19:02:05 -04:00
Shifting bitstring bytes for the prefix of dns_name_split didn't work
properly because the destination was being ANDed with the bits coming from the next byte, rather than ORed.
This commit is contained in:
parent
bee0bb2b68
commit
d92d2f722a
1 changed files with 1 additions and 1 deletions
|
|
@ -2466,7 +2466,7 @@ dns_name_split(dns_name_t *name,
|
|||
* by the right shift.
|
||||
*/
|
||||
if (len > 0)
|
||||
*dst++ &=
|
||||
*dst++ |=
|
||||
(*src >> (8 - mod)) &
|
||||
~(0xFF << mod);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue