subparse: Check for NULL return of strchr() when parsing LRC subtitles
authorSebastian Dröge <sebastian@centricular.com>
Wed, 9 Oct 2024 15:23:47 +0000 (11:23 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 3 Dec 2024 08:23:15 +0000 (08:23 +0000)
commit1a5fdba14a1ccfe473bc4429f22ee5bbaee034eb
tree31085a8c87fc9a1159f839b5188afa5c35185fdd
parent804eca458fb547942ed70b88c021b996be9228a2
subparse: Check for NULL return of strchr() when parsing LRC subtitles

Thanks to Antonio Morales for finding and reporting the issue.

Fixes GHSL-2024-263
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3892

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8051>
subprojects/gst-plugins-base/gst/subparse/gstsubparse.c