[gstreamer-bugs] [Bug 587982] New: [udp] uninitialized variable in gst_udp_get_addr function

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jul 7 07:52:54 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=587982

  GStreamer | gst-plugins-good | Ver: 0.10.15
           Summary: [udp] uninitialized variable in gst_udp_get_addr
                    function
           Product: GStreamer
           Version: 0.10.15
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: benjamin at gaignard.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


struct addrinfo *res is not initialized in gst_udp_get_addr function so when
getaddrinfo return an error freeaddrinfo try to free an invalid address.
The correction is to initialize *res to NULL


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=587982.




More information about the Gstreamer-bugs mailing list