After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587982 - [udp] uninitialized variable in gst_udp_get_addr function
[udp] uninitialized variable in gst_udp_get_addr function
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
Other Linux
: Normal normal
: 0.10.16
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 600434 (view as bug list)
Depends on:
Reported: 2009-07-07 14:52 UTC by Benjamin Gaignard
Modified: 2009-11-02 16:00 UTC
See Also:
GNOME target: ---
GNOME version: ---

*res correctly init (409 bytes, patch)
2009-07-07 14:53 UTC, Benjamin Gaignard
committed Details | Review

Description Benjamin Gaignard 2009-07-07 14:52:53 UTC
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
Comment 1 Benjamin Gaignard 2009-07-07 14:53:58 UTC
Created attachment 137972 [details] [review]
*res correctly init
Comment 2 Tim-Philipp Müller 2009-11-02 16:00:39 UTC
*** Bug 600434 has been marked as a duplicate of this bug. ***