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 144425 - Invalid read of size 4in riff-read.c [patch]
Invalid read of size 4in riff-read.c [patch]
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-06-15 14:31 UTC by Tim-Philipp Müller
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (805 bytes, patch)
2004-06-15 14:33 UTC, Tim-Philipp Müller
none Details | Review

Description Tim-Philipp Müller 2004-06-15 14:31:59 UTC
% valgrind gst-launch-0.8 filesrc location=foo.wav ! wavparse ! fakesink 
RUNNING pipeline ... 
==28929== Invalid read of size 4 
==28929==    at 0x3C91A918: gst_riff_peek_head (riff-read.c:184) 
==28929==    by 0x3C91D212: gst_riff_read_header (riff-read.c:907) 
==28929==    by 0x3C912AFC: gst_wavparse_stream_init (gstwavparse.c:512) 
==28929==    by 0x3C91325A: gst_wavparse_loop (gstwavparse.c:710) 
==28929==  Address 0x3C148368 is not stack'd, malloc'd or free'd 
 
Patch attached. 
 
Cheers 
 -Tim
Comment 1 Tim-Philipp Müller 2004-06-15 14:33:15 UTC
Created attachment 28733 [details] [review]
proposed patch
Comment 2 Zaheer Abbas Merali 2004-06-15 21:31:15 UTC
I checked in a fix in CVS, please confirm its ok now.

Thanks for the report

Zaheer