fix bug in vulnerable code (#9732)

This commit is contained in:
jonathanmetzman 2023-02-16 15:42:14 -05:00 committed by GitHub
parent f79414aed9
commit 7abf66421e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t* data, size_t size) {
if (data[index++] != 'l')
return 0;
if (size < 11) {
if (size < 13) {
return 0;
}
if (data[index++] != 'l')