[gstreamer-bugs] [Bug 315895] New: gst_pad_query_convert src_val check

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sat Sep 10 02:38:14 PDT 2005


Do not reply to this email.  You can add comments to this bug at
 http://bugzilla.gnome.org/show_bug.cgi?id=315895
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: gst_pad_query_convert src_val check
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: alessandro at nnva.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


gst_pad_query_convert doesn't check for src_val >= 0. With srcval < 0 the
gst_query_new_convert call in the body fails returning NULL. That makes
gst_pad_query (pad, query) with query = NULL print this:

(process:22871): GStreamer-CRITICAL **: gst_pad_query: assertion `GST_IS_QUERY
(query)' failed

also it ends up unreffing a null pointer.

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list