mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch 'marka-bad-bool-value' into 'main'
Ensure that a bool is stored in 'eol' See merge request isc-projects/bind9!3960
This commit is contained in:
commit
4005cc3864
1 changed files with 3 additions and 3 deletions
|
|
@ -61,9 +61,9 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||
data += sizeof(expect);
|
||||
size -= sizeof(expect);
|
||||
|
||||
(void)memmove(&eol, data, sizeof(eol));
|
||||
data += sizeof(eol);
|
||||
size -= sizeof(eol);
|
||||
eol = *data != 0;
|
||||
data += 1;
|
||||
size -= 1;
|
||||
|
||||
isc_buffer_constinit(&buf, data, size);
|
||||
isc_buffer_add(&buf, size);
|
||||
|
|
|
|||
Loading…
Reference in a new issue