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>
Thu, 17 Nov 2016 22:12:09 +0000 (23:12 +0100)
commit6e5ccabbe8461f5bde1c8ad87a2ced343fd2e5b7
tree7b67a5479e5b4f8f174faee9edd251f7ea0a3267
parent266cf258cc9377fa46acf78dfcb354b4cb12ef6f
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