]> git.ipfire.org Git - thirdparty/bind9.git/commit
Really fuzz isc_lex_getmastertoken() in the test
authorOndřej Surý <ondrej@sury.org>
Wed, 12 Aug 2020 09:29:30 +0000 (11:29 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 12 Aug 2020 19:49:31 +0000 (21:49 +0200)
commit790476332e39bbdad139066f25be87e2ddc90282
treeb92425cfc980400534d1ff6fe2e2682ba5a63213
parent88ad7b85e6671a3938a1dc8ef59ee56263880a7f
Really fuzz isc_lex_getmastertoken() in the test

There was a copy&paste error in fuzz/isc_lex_getmastertoken.c where we
didn't really test the function we wanted to test.  Update the test to
have the input data to always include expected 'tokentype' in the first
byte, `eol` argument in the second byte and the rest of the input is the
data to parse.
fuzz/isc_lex_getmastertoken.c
fuzz/isc_lex_getmastertoken.in/named.conf
fuzz/isc_lex_getmastertoken.in/simple