[CoverageFormat2] Fix iterator to avoid infinite loop
on invalid data. Fixes https://oss-fuzz.com/testcase-detail/5304497047470080
This commit is contained in:
parent
b475a2ab29
commit
d8574b44cc
|
@ -187,6 +187,7 @@ struct CoverageFormat2_4
|
||||||
* consecutive and monotonically increasing,
|
* consecutive and monotonically increasing,
|
||||||
* ie. iota(). */
|
* ie. iota(). */
|
||||||
i = c->rangeRecord.len;
|
i = c->rangeRecord.len;
|
||||||
|
j = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue