[gstreamer-bugs] [Bug 334107] [xvid] Segmentation fault after a few frames

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 10 08:58:00 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=334107
  GStreamer | gst-plugins-bad | git

--- Comment #10 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2011-01-10 16:57:58 UTC ---
So after some more looking around with only the decoder:

The stock sample decoder from xvidcore does not trigger Valgrind problems, but
gst's does. However, the sample decoder uses a very large read buffer (2 MB).
If I reduce this buffer to the size of the next buffer, Valgrind starts moaning
about the same issue.

If I make a temporary copy of the incoming buffer in gst's xviddec.c, with 16
extra bytes added at the end, Valgrind's happy. An extra 4 bytes gets rid of
some, but not all, triggers.

So it looks like there is another overread in xvidcore.

For the record, the sample decoder uses stock malloc, so alignment doesn't seem
to be required.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list