Commit 21b1db4
committed
Report format error when order > frame length
A file where this happens is invalid. Instead of causing an index out of
bounds, this should report an error. Fortunately this is Rust, which
panics on out of bounds indexing, instead of C which would have had an
out of bounds read.
Found using libfuzzer and cargo-fuzz.1 parent 483eda3 commit 21b1db4
File tree
2 files changed
+7
-0
lines changed- src
- testsamples/fuzz
2 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
586 | 593 | | |
587 | 594 | | |
588 | 595 | | |
| |||
Binary file not shown.
0 commit comments