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 319184 - rtspsrc: invalid read in sdp_message_parse_buffer ()
rtspsrc: invalid read in sdp_message_parse_buffer ()
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.9.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-18 19:07 UTC by Sebastien Cote
Modified: 2005-11-22 20:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (783 bytes, patch)
2005-10-18 19:08 UTC, Sebastien Cote
none Details | Review

Description Sebastien Cote 2005-10-18 19:07:42 UTC
Valgrind shows me an invalid read in sdp_message_parse_buffer (). Padding the
buffer with '\0' fixes the problem. It also makes sense to do it in case of an
invalid answer or a truncated buffer.
Comment 1 Sebastien Cote 2005-10-18 19:08:35 UTC
Created attachment 53623 [details] [review]
Proposed fix

Adds a '\0' at the end of the SDP buffer.
Comment 2 Wim Taymans 2005-11-21 20:11:21 UTC
applied to HEAD