[gstreamer-bugs] [Bug 339010] New: segfault/undefined behavior with optional GstCaps args

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Apr 19 04:54:25 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=339010
 GStreamer | gst-python | Ver: HEAD CVS

           Summary: segfault/undefined behavior with optional GstCaps args
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: wingo at pobox.com
         QAContact: johan at gnome.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


If a GstCaps argument is marked as optional, its value after
PyArgs_ParseTupleAndKeywords is currently undefined because we are not
initializing the C variable. Attached patch fixes the problem -- the pdflt
idiom is taken from upstream.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list