edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | //! Replays of inputs that the fuzzer found to crash the Opus decoder. The input is replayed |
| 2 | //! with the same framing as the `decode_packet` harness, and with no harness caps. |
| 3 | |
| 4 | use Decoder; |
| 5 | |
| 6 | /// `decode_packet` panic: the CELT path calls `tell_frac` after `skip_to_end` on a frame of a |
| 7 | /// few bytes. The bit count then dips below zero, and the unsigned subtraction in |
| 8 | /// `RangeDecoder::tell_frac` panicked in debug builds (wrapped in release). The decode must now |
| 9 | /// finish without panicking, whatever it returns. |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 |