• James Zern's avatar
    vp8_decode_frame: fix oob read on truncated key frame · 45daecb4
    James Zern authored
    the check for error correction being disabled was overriding the data
    length checks. this avoids returning incorrect information (width /
    height) for the decoded frame which could result in inconsistent sizes
    returned in to an application causing it to read beyond the bounds of
    the frame allocation.
    
    BUG=webm:1443
    BUG=b/62458770
    
    Change-Id: I063459674e01b57c0990cb29372e0eb9a1fbf342
    45daecb4