mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-22 10:23:47 +00:00
gst-libs/gst/sdp/gstsdpmessage.c: Clear the addrinfo struct using memset. Fixes #514937.
Original commit message from CVS: Patch by: Peter Kjellerstedt <pkj at axis com> * gst-libs/gst/sdp/gstsdpmessage.c: (is_multicast_address): Clear the addrinfo struct using memset. Fixes #514937.
This commit is contained in:
parent
b5aaf1e1a9
commit
ed373d3072
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-02-07 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
Patch by: Peter Kjellerstedt <pkj at axis com>
|
||||||
|
|
||||||
|
* gst-libs/gst/sdp/gstsdpmessage.c: (is_multicast_address):
|
||||||
|
Clear the addrinfo struct using memset. Fixes #514937.
|
||||||
|
|
||||||
2008-02-06 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-02-06 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
* gst/tcp/gstfdset.h:
|
* gst/tcp/gstfdset.h:
|
||||||
|
|
|
@ -325,6 +325,7 @@ is_multicast_address (const gchar * host_name, guint * family)
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
|
memset (&hints, 0, sizeof (hints));
|
||||||
hints.ai_socktype = SOCK_DGRAM;
|
hints.ai_socktype = SOCK_DGRAM;
|
||||||
|
|
||||||
g_return_val_if_fail (host_name, FALSE);
|
g_return_val_if_fail (host_name, FALSE);
|
||||||
|
|
Loading…
Reference in a new issue