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 309043 - gstwavparse causes segfaults
gstwavparse causes segfaults
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.9
Other NetBSD
: Normal major
: 0.8.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-26 09:14 UTC by Thomas Klausner
Modified: 2005-06-30 10:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
patch fixing the problem (588 bytes, patch)
2005-06-26 09:15 UTC, Thomas Klausner
none Details | Review

Description Thomas Klausner 2005-06-26 09:14:47 UTC
Distribution/Version: pkgsrc

gstwavparse reads bps information from wav headers and doesn't check it, but
uses it as divisor. If bps is 0, this will cause division-by-zero and a segfault.
I'll attach a patch that fixes it (not allowing wav files with bps 0).
Comment 1 Thomas Klausner 2005-06-26 09:15:56 UTC
Created attachment 48338 [details] [review]
patch fixing the problem
Comment 2 Ronald Bultje 2005-06-30 10:18:00 UTC
Thanks, applied.