[Bug 733757] New: [PATCH] GstURIHandlers which return NULL GErrors cause GStreamer to crash

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 25 11:43:16 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=733757
  GStreamer | gstreamer (core) | git

           Summary: [PATCH] GstURIHandlers which return NULL GErrors cause
                    GStreamer to crash
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: dv at pseudoterminal.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=281720)
 View: https://bugzilla.gnome.org/attachment.cgi?id=281720
 Review: https://bugzilla.gnome.org/review?bug=733757&attachment=281720

gsturi.c patch

If a GstURIHandler's set_uri() function sets the *error parameter to NULL, the
code in gsturi.c will attempt a NULL pointer dereference if debug logging is
enabled, thus causing a crash.

Fixed by checking for a NULL pointer and printing an alternate text in this
case.

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