[gstreamer-bugs] [Bug 514937] New: Correct initialization of hints in is_multicast_address()

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Feb 7 02:04:41 PST 2008


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

  GStreamer | gst-plugins-base | Ver: HEAD CVS
           Summary: Correct initialization of hints in
                    is_multicast_address()
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: pkj at axis.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unversioned Enhancement
   GNOME milestone: Unspecified


Please describe the problem:
sebastien at kemper.freedesktop.org made a change in
gst-plugins-base/gst-libs/gst/sdp/gstsdpmessage.c where he changed

struct addrinfo hints = {

  .ai_socktype = SOCK_DGRAM   

}; 


into 

struct addrinfo hints;
...
hints.ai_socktype = SOCK_DGRAM;

without taking into account that the old version automatically set all
non-mentioned fields to zero. Please apply the attached patch.


Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:


-- 
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=514937.




More information about the Gstreamer-bugs mailing list