[Bug 775070] asfdemux: ASF object size checks

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 25 11:05:06 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=775070

Edward Hervey <bilboed at bilboed.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Edward Hervey <bilboed at bilboed.com> ---
commit 4a52e6c827b30dc34fb177c6362ce02f1068e718
Author: Edward Hervey <edward at centricular.com>
Date:   Fri Nov 25 10:07:35 2016 +0100

    asfdemux: Add sanity check for asf_stream_audio

    We should have enough bytes for the specified codec_data

    https://bugzilla.gnome.org/show_bug.cgi?id=775070

commit 8f05e8f44979c84aaf06f0c817e76eb44b28de50
Author: Edward Hervey <edward at centricular.com>
Date:   Fri Nov 25 09:45:04 2016 +0100

    asfdemux: Add sanity checks when reading asf_stream_video_format

    It should report a size of at least 40 bytes
    Also check for the size of the remaining data (i.e. codec_data)

    https://bugzilla.gnome.org/show_bug.cgi?id=775070

commit 97294eb8bbed1b9dad7d3f2c52dd69eb1812cc06
Author: Edward Hervey <edward at centricular.com>
Date:   Fri Nov 25 09:44:05 2016 +0100

    asfdemux: Add check for invalid/corrupt asf object

    An asf object can't realistically be bigger than 2**32 bytes.

    If it reports a size bigger than that, consider it corrupt and properly
    propagate the error back.

    https://bugzilla.gnome.org/show_bug.cgi?id=775070

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