diff --git a/src/boot/efi/fuzz-bcd.c b/src/boot/efi/fuzz-bcd.c index e5ed6638a4..3df55a5c36 100644 --- a/src/boot/efi/fuzz-bcd.c +++ b/src/boot/efi/fuzz-bcd.c @@ -21,6 +21,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { assert_se(p); char16_t *title = get_bcd_title(p, size); - assert_se(!title || char16_strlen(title) >= 0); + if (title) + (void) char16_strlen(title); return 0; }