[Bug 708849] hlsdemux occasionally dereferencing NULL in gst_hls_demux_switch_playlist
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Sep 28 04:14:55 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=708849
GStreamer | gst-plugins-bad | 1.2.0
Sebastian Dröge (slomo) <slomo> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |slomo at circular-chaos.org
Resolution| |FIXED
Target Milestone|HEAD |1.3.1
--- Comment #2 from Sebastian Dröge (slomo) <slomo at circular-chaos.org> 2013-09-28 11:14:49 UTC ---
commit 0bdf13c36ae61e150fe6c56d3c4a4e6ab3188ca2
Author: Alex Ashley <bugzilla at ashley-family.net>
Date: Thu Sep 26 16:51:25 2013 +0100
hlsdemux: Fix dereferencing of NULL pointer
On some live HLS streams, gst_hls_demux_switch_playlist causes
assertion failures because it tried to dereference a NULL fragment.
This is because g_queue_peek_tail sometimes was returning NULL and
this case was not being checked.
This patch does two things:
* move the g_queue_peek_tail inside the semaphore protection
* check if q_queue_peek_tail returns NULL
https://bugzilla.gnome.org/show_bug.cgi?id=708849
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list