wavparse: Check that at least 32 bytes are available before parsing smpl chunks
authorSebastian Dröge <sebastian@centricular.com>
Fri, 4 Oct 2024 10:22:02 +0000 (13:22 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 3 Dec 2024 13:51:00 +0000 (13:51 +0000)
commit3d2a5841d777dd95afdea30ad134f96c876f84ab
tree9d1689333ce0ab0808aaa65a22d327800db15a4b
parent8f04506d7e68a653c8d7c5e2fb0a19ef93c6ea35
wavparse: Check that at least 32 bytes are available before parsing smpl chunks

Thanks to Antonio Morales for finding and reporting the issue.

Fixes GHSL-2024-259
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3887

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8054>
subprojects/gst-plugins-good/gst/wavparse/gstwavparse.c