mirror of https://github.com/google/oss-fuzz.git
fix bug in vulnerable code (#9732)
This commit is contained in:
parent
f79414aed9
commit
7abf66421e
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue