mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-25 16:41:03 +03:00
OSS-Fuzz: Fix bias condition
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
This commit is contained in:
1 parent
210cbf378a
commit
ea9d1cb803
1 file changed
+1
-1
@@ -170,7 +170,7 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
}
|
||||
|
||||
/* Test PSK configuration conditionally */
|
||||
if (size >= 32 && data[0] % 4 == 0) {
|
||||
if (size >= 32) {
|
||||
test_psk_config(ctx, data, size);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user