]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix parsing of unknown directives in resolv.conf
authorMark Andrews <marka@isc.org>
Mon, 9 Dec 2024 03:45:38 +0000 (14:45 +1100)
committerMark Andrews <marka@isc.org>
Tue, 10 Dec 2024 00:49:11 +0000 (00:49 +0000)
commit841269601c72af740901768ea4732e484ef41df7
tree4d10af4b5fb044f49c3ba8a1edfa9f8a010c64ea
parent4e768eba175c4a498c0460cf1f0a352522664815
Fix parsing of unknown directives in resolv.conf

Only call eatline() to skip to the next line if we're not
already at the end of a line when parsing an unknown directive.
We were accidentally skipping the next line when there was only
a single unknown directive on the current line.

(cherry picked from commit eb78ad20803b28f1a5ede52115ad6bd73cfeb843)
lib/irs/resconf.c