[gstreamer-bugs] [Bug 564896] New: gst_netaddress_get_ip[46]_address should check for correct type
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Dec 17 10:50:44 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
Summary: gst_netaddress_get_ip[46]_address should check for
correct type
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: acferen at yahoo.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Please describe the problem:
gst_netaddress_get_ip4_address
gst_netaddress_get_ip6_address
both return success even if naddr is the wrong type.
Steps to reproduce:
ask for a v4/v6 address if naddr is actually v6/v4 type.
Actual results:
the address you get back is not useful unless you make some assumptions about
the implementation details.
Expected results:
gst_netaddress_get_ip4_address : should fail for v6 address
gst_netaddress_get_ip6_address : should either fail or return the v4 address as
a transitional v6 address
Does this happen every time?
yes
Other information:
I have a patch to submit shortly.
patch also adds two new functions
gst_netaddress_get_address_bytes
gst_netaddress_set_address_bytes
Not strictly needed, but convenient
--
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