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 167704 - [PATCH] [tcpserversink] Don't depend on uninitialised values
[PATCH] [tcpserversink] Don't depend on uninitialised values
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-17 14:50 UTC by Luca Ognibene
Modified: 2005-02-17 18:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to initialise ret (849 bytes, patch)
2005-02-17 14:51 UTC, Luca Ognibene
none Details | Review

Description Luca Ognibene 2005-02-17 14:50:20 UTC
valgrind fakesrc ! tcpserversink

==20282== Syscall param socketcall.setsockopt(optval) contains uninitialised or
unaddressable byte(s)
==20282==    at 0x1BBA0562: setsockopt (socket.S:65)
==20282==    by 0x1C47B7B0: gst_multifdsink_init_send (gstmultifdsink.c:1661)
==20282==    by 0x1C47BC49: gst_multifdsink_change_state (gstmultifdsink.c:1723)
==20282==    by 0x1B9429AB: gst_element_set_state_func (gstelement.c:2853)
==20282==    by 0x1B942685: gst_element_set_state (gstelement.c:2796)
==20282==    by 0x1B9349EE: set_kid_state_func (gstbin.c:806)
==20282==    by 0x1B934903: gst_bin_foreach (gstbin.c:770)
==20282==    by 0x1B934DA3: gst_bin_change_state (gstbin.c:868)
==20282==    by 0x1B959650: gst_pipeline_change_state (gstpipeline.c:174)
==20282==    by 0x1B9429AB: gst_element_set_state_func (gstelement.c:2853)
==20282==  Address 0x52BFDFE8 is on thread 1's stack

really big patch following.
Comment 1 Luca Ognibene 2005-02-17 14:51:29 UTC
Created attachment 37592 [details] [review]
patch to initialise ret
Comment 2 Tim-Philipp Müller 2005-02-17 18:11:29 UTC
 Fixed, thanks.

 Cheers
  -Tim