interplayacm: increase bitstream buffer size by AV_INPUT_BUFFER_PADDING_SIZE
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 30 Oct 2016 20:18:20 +0000 (21:18 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sat, 26 Nov 2016 23:28:03 +0000 (00:28 +0100)
commit5a1433b19ab396cfdc7d52d9b479a7828ce5c707
treebf32d347ea8bc4e3c45782f385c3ea6accb922dd
parentd6fbc7a2daf0311fa7c093d48bcf19d1cf35936a
interplayacm: increase bitstream buffer size by AV_INPUT_BUFFER_PADDING_SIZE

This fixes out-of-bounds reads by the bitstream reader.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 60178e78f2fe9a7bfb9da0abc985835e2ebfd2f1)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/interplayacm.c