Devin Anderson
4e03c5f885
wavparse: Fix crash that occurs in push mode when header chunks are corrupted
...
in certain ways.
In the case that a test is provided for, the size of the `fmt ` chunk is
changed from 16 bytes to 18 bytes (bytes 17 - 20 below):
```
$ hexdump -C corruptheadertestsrc.wav
00000000 52 49 46 46 e4 fd 00 00 57 41 56 45 66 6d 74 20 |RIFF....WAVEfmt |
00000010 12 00 00 00 01 00 01 00 80 3e 00 00 00 7d 00 00 |.........>...}..|
00000020 02 00 10 00 64 61 74 61 |....data|
00000028
```
(Note that the original file is much larger. This was the smallest sub-file
I could find that would generate the crash.)
Note that, while the same issue doesn't cause a crash in pull mode, there's a
different issue in that the file is processed successfully as if it was a .wav
file with zero samples.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3173 >
2022-10-13 08:56:49 +00:00
..
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2022-09-27 00:00:49 +00:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2022-06-28 17:59:24 +00:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2022-03-14 10:32:15 +02:00
2022-03-14 10:32:15 +02:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-11-23 20:26:30 +00:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2022-09-02 08:56:13 +00:00
2021-10-30 10:37:37 +01:00
2021-10-20 00:03:09 +00:00
2022-04-22 08:41:59 +00:00
2022-09-03 09:26:24 +00:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2022-02-28 10:13:11 +00:00
2022-07-04 19:20:57 +00:00
2022-10-10 14:56:18 +00:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-10-13 08:32:25 +00:00
2021-09-24 16:13:50 -03:00
2022-07-05 11:33:35 +00:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2022-07-02 11:57:31 +00:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2021-09-24 16:13:50 -03:00
2022-10-13 08:56:49 +00:00
2021-09-24 16:13:50 -03:00