[gstreamer-bugs] [Bug 564896] gst_netaddress_get_ip[46]_address should check for correct type

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Dec 18 04:40:07 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=564896

  GStreamer | gst-plugins-base | Ver: HEAD CVS

Wim Taymans changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #124919|none                        |committed
               Flag|                            |
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.22




------- Comment #4 from Wim Taymans  2008-12-18 12:40 UTC -------
Thanks for the patch, commited after some fixes to the return values of the new
functions, indentation and the Since docs tags.

        Patch by: Andrew Feren <acferen at yahoo dot com>

        * gst-libs/gst/netbuffer/gstnetbuffer.c:
        (gst_netaddress_get_ip4_address), (gst_netaddress_get_ip6_address),
        (gst_netaddress_get_address_bytes),
        (gst_netaddress_set_address_bytes):
        * gst-libs/gst/netbuffer/gstnetbuffer.h:
        Make gst_netaddress_get_ip4_address fail for v6 addresses.
        Make gst_netaddress_get_ip6_address either fail or return the v4
        address as a transitional v6 address.
        Add two convenience functions:
        API: gst_netaddress_get_address_bytes()
        API: gst_netaddress_set_address_bytes()
        Fixes #564896.


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




More information about the gstreamer-bugs mailing list