[Bug 725134] New: hlsdemux null pointer deref if loading media playlist fails

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Feb 25 03:19:27 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=725134
  GStreamer | gst-plugins-bad | git

           Summary: hlsdemux null pointer deref if loading media playlist
                    fails
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: bugzilla at ashley-family.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


hlsdemux causes a null pointer dereference if it fails to download the media
playlist. The gst_hls_demux_update_playlist function assumes that
demux->client->current->files is valid and tries to access the last item of the
files list when caching the first three fragments at start up.

This bug can be reproduced by creating a master m3u8 file that contains one
media playlist that does not exist.

For example:

#EXTM3U
#EXT-X-VERSION:4
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=617508, CODECS="avc1.42001f
mp4a.40.2", RESOLUTION=540x352
/404.m3u8

-- 
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