[gstreamer-bugs] [Bug 165398] [ffdec_mpeg2video] invalid memory access / crash

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sat Apr 9 02:02:34 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

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





------- Additional Comments From Ronald Bultje  2005-04-09 05:02 -------
The invalid free's may be fixed (by using posix_memalign()). Patch is not being
accepted upstream for some reason, but ok, won't bother for now.

The invalid memory accesses are a problem. The ffmpeg devs (Michael) tell me to
pad allocated data by allocating 8 extra bytes, so they can validly overflow
while reading the bitstream. That is gross if you ask me, but it works that way
for them (mplayer & co, see also
http://sourceforge.net/mailarchive/message.php?msg_id=11427473). That's the last
2 valgrind warnings. Seems to work fine oherwise though.

------- 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