[gstreamer-bugs] [Bug 151064] - asfdemux crash

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sat Oct 2 05:53:07 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=151064
GStreamer | gst-plugins | Ver: HEAD CVS





------- Additional Comments From martin.pitt at canonical.com  2004-10-02 08:53 -------
I independently stumbled over this bug and found a fix for it (for version 0.8.4
of gst-plugins): the short-short version: gst_bytestream_peek() does not
initialize the returned buffer pointer; gst_asf_demux_process_chunk() calls
gst_bytestream_peek() without checking its return value, thus accessing the
uninitialized buffer pointer, which causes the SIGSEGV.

I also looked at CVS HEAD, the code is still vulnerable to this uninitialized
pointer bug; so if anything changed, then the only possibility would be that
gst_asf_demux_process_chunk() will not get any 0-byte chunks any more (but I did
not verify this).

Detail are on https://bugzilla.ubuntulinux.org/show_bug.cgi?id=1919. I will
attach a patch here.

Please change NEEDINFO to NEW/ASSIGNED, I'm not allowed to do that.


------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list