[gstreamer-bugs] [Bug 599333] Segfault with asfdemuxer

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Oct 24 07:33:00 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=599333
  GStreamer | gst-plugins-ugly | 0.10.10

Sebastian Dröge <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #2 from Sebastian Dröge <slomo at circular-chaos.org> 2009-10-24 14:32:57 UTC ---
Oh that code is scary. But that warning here is only a false warning, if the
malloc() at mms.c:1070 is followed by a memset() to clear all allocated memory
the warning goes away.

Problem with that code is, that it does some string operations and doesn't
calculate the lengths correctly, instead just adds some bytes to the length to
be on the safe side (which is no problem per se because there's always that 0
terminator). But the 1024 byte large string can easily overflow here, but
that's not a problem in normal situations ;)

Tim, can you still reproduce it with latest GIT?

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