]> git.ipfire.org Git - thirdparty/bind9.git/commit
Address infinite loop when processing $GENERATE
authorMark Andrews <marka@isc.org>
Fri, 19 Jan 2024 01:37:10 +0000 (12:37 +1100)
committerMark Andrews <marka@isc.org>
Mon, 6 May 2024 23:59:06 +0000 (23:59 +0000)
commit58efb2f740e920fcc4bef654b0492955c1dbe9c5
treee2aee6c22070275e03bb0bcd271247a9fc2351a2
parent1bc1fc5a185ae4b18d16a77513dfdcd1baa42ffa
Address infinite loop when processing $GENERATE

In nibble mode if the value to be converted was negative the parser
would loop forever.  Process the value as an unsigned int instead
of as an int to prevent sign extension when shifting.

This was found by Eric Sesterhenn from X41.

(cherry picked from commit 371824f0789d6e491216f266bf62955a73b49858)
lib/dns/master.c