]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix a crash from using an empty string for "include"
authorEvan Hunt <each@isc.org>
Tue, 21 Feb 2023 22:31:58 +0000 (14:31 -0800)
committerEvan Hunt <each@isc.org>
Wed, 22 Feb 2023 17:35:29 +0000 (17:35 +0000)
commit4dfc3f056d1b8855f7eeca32e09f9749e6ce5652
tree8e964abd5d81c6942843490090ed264f15c5e5b0
parent7aa0ee4f5edc1bc08538d5168002486677153815
fix a crash from using an empty string for "include"

the parser could crash when "include" specified an empty string in place
of the filename. this has been fixed by returning ISC_R_FILENOTFOUND
when the string length is 0.
bin/tests/system/checkconf/bad-empty-include.conf [new file with mode: 0644]
lib/isccfg/parser.c