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 109064 - gstudpsrc needs to set len before call to recvfrom()
gstudpsrc needs to set len before call to recvfrom()
Status: RESOLVED DUPLICATE of bug 109797
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.6.0
Other Linux
: Normal minor
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-03-24 04:44 UTC by janzen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to set socket address length before calls to recvfrom() (750 bytes, patch)
2003-03-24 04:45 UTC, janzen
none Details | Review

Description janzen 2003-03-24 04:44:57 UTC
In the gstudpsrc.c file, the 'len' variable should be set to 'sizeof(struct
sockaddr)' before calling recvfrom().  Leaving it uninitialized may not
cause any problem on most operating systems, but it's asking for trouble,
and it's a trivial fix; see attached patch.
Comment 1 janzen 2003-03-24 04:45:38 UTC
Created attachment 15176 [details] [review]
Patch to set socket address length before calls to recvfrom()
Comment 2 Ronald Bultje 2003-04-06 22:20:03 UTC

*** This bug has been marked as a duplicate of 109797 ***