mirror of https://github.com/FFmpeg/FFmpeg.git
The size variable here is taken as gospel for the bounds of the input buffer in later logic. Clamp it to ensure that the returned region does not extend past that allocated in the underlying GetBitContext, even in the case entry point offsets are signalled in the bitstream. Also assert this for good measure. Signed-off-by: Frank Plowman <post@frankplowman.com>release/7.1
parent
f499503073
commit
fcf74c5ebc
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue