fuzz: allow max size conditional ACE round-trip failure
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 20 Dec 2023 01:26:00 +0000 (14:26 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Dec 2023 00:51:13 +0000 (00:51 +0000)
commitb4563a24904e823497552f6e4ef77e8041f2cc5d
tree6f7184d91a9d7044cbe1ece21e5df4cf35e7e084
parent21853b01e65f8b79bdf478d4fe470dcb1639cc48
fuzz: allow max size conditional ACE round-trip failure

The encoder, being cautious not to overstep the arbitrary 10000 byte
boundary, might not encode an exactly 10000 byte condition. This
is an off-by-one, but in the safe direction.

Credit to OSS-Fuzz.

REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65118

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Dec 22 00:51:13 UTC 2023 on atb-devel-224
lib/fuzzing/fuzz_conditional_ace_blob.c