gstreamer/subprojects/gst-plugins-good/tests/check/elements
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
..
aacparse.c
ac3parse.c
alpha.c
alphacolor.c
amrparse.c
apev2mux.c
aspectratiocrop.c
audioamplify.c
audiochebband.c
audiocheblimit.c
audiodynamic.c
audioecho.c
audiofirfilter.c
audioiirfilter.c
audioinvert.c
audiopanorama.c
audiowsincband.c
audiowsinclimit.c
autodetect.c
avimux.c
avisubtitle.c
capssetter.c
dash_mpd.c dashdemux2: fix mpd unit test expectations 2022-09-27 00:00:49 +00:00
deinterlace.c
deinterleave.c
dtmf.c
equalizer.c
flacparse.c
flvdemux.c
flvmux.c
gdkpixbufoverlay.c
gdkpixbufsink.c
hlsdemux_m3u8.c tests: check: Update hlsdemux2 tests for playlist changes 2022-06-28 17:59:24 +00:00
icydemux.c
id3demux.c
id3v2mux.c
imagefreeze.c
interleave.c
jpegdec.c
jpegenc.c
level.c
matroskademux.c
matroskamux.c
matroskaparse.c
mpegaudioparse.c mpegaudioparse: Support gapless playback 2022-03-14 10:32:15 +02:00
mpg123audiodec.c mpg123: Add gapless playback support 2022-03-14 10:32:15 +02:00
mulawdec.c
mulawenc.c
multifile.c
packets.h
parser.c
parser.h
qtdemux.c
qtdemux.h
qtmux.c
rganalysis.c
rglimiter.c
rgvolume.c
rtp-payloading.c
rtpbin.c
rtpbin_buffer_list.c
rtpcollision.c
rtpfunnel.c rtpfunnel: fix extmap handling on accept-caps 2021-11-23 20:26:30 +00:00
rtph261.c
rtph263.c
rtph264.c
rtph265.c rtph265: keep delta unit flag 2022-09-02 08:56:13 +00:00
rtphdrext-colorspace.c Couple more g_memdup() -> g_memdup2() fixes 2021-10-30 10:37:37 +01:00
rtphdrextclientaudiolevel.c rtphdrext-clientaudiolevel: Rename RFC 6464 element 2021-10-20 00:03:09 +00:00
rtphdrextsdes.c rtphdrextsdes: fixup test trying to g_free a local variable 2022-04-22 08:41:59 +00:00
rtpjitterbuffer.c rtpjitterbuffer: Add test for crash caused by removing timers twice 2022-09-03 09:26:24 +00:00
rtpjpeg.c
rtpmux.c
rtpopus.c
rtpptdemux.c
rtpred.c rtp: In payloaders map the RTP marker flag to the corresponding buffer flag 2022-02-28 10:13:11 +00:00
rtprtx.c rtprtx: Fix copying extension headers 2022-07-04 19:20:57 +00:00
rtpsession.c tests/check/rtpsession: extend test_internal_sources_timeout 2022-10-10 14:56:18 +00:00
rtpssrcdemux.c
rtpst2022-1-fecdec.c
rtpst2022-1-fecenc.c
rtpstorage.c
rtptimerqueue.c
rtpulpfec.c
rtpvp8.c
rtpvp9.c
shapewipe.c
souphttpsrc.c
spectrum.c
splitmuxsink.c splitmuxsink: Don't crash on EOS without buffer 2022-07-05 11:33:35 +00:00
splitmuxsinktimecode.c
splitmuxsrc.c
udpsink.c tests: udpsink: make test work in environments without IPv6 2022-07-02 11:57:31 +00:00
udpsrc.c
videobox.c
videocrop.c
videofilter.c
videoflip.c
videomixer.c
vp8dec.c
vp8enc.c
vp9enc.c
wavpackdec.c
wavpackenc.c
wavpackparse.c
wavparse.c wavparse: Fix crash that occurs in push mode when header chunks are corrupted 2022-10-13 08:56:49 +00:00
y4menc.c