[Bug 762856] It is possible hit Buffer Overflow - Array Index Out of Bounds in fill_iq_matrix_8x8 for H264

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Feb 29 09:44:06 UTC 2016


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

--- Comment #1 from sreerenj <bsreerenj at gmail.com> ---
We never hit this code,   See the code before invoking fill_iq_matrix_8x8()

/* XXX: we can only support 4:2:0 or 4:2:2 since ScalingLists8x8[]
     is not large enough to hold lists for 4:4:4 */
  if (sps->chroma_format_idc == 3)
    return GST_VAAPI_DECODER_STATUS_ERROR_UNSUPPORTED_CHROMA_FORMAT;

Parse is supposed to parse whatever possible, which can be up to 6 scaling
lists for 8x8, but libva only support two.

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