lavc/bmp: Avoid a heap buffer overwrite for 1bpp input.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Tue, 26 Mar 2019 12:32:11 +0000 (13:32 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 31 Mar 2019 21:30:09 +0000 (23:30 +0200)
commitdaca529112d8cefa9d1f661b3493def303ba63c5
tree338e91b4f56f32fea87d94da3785eb97422fe2bd
parent65f94b732a27cd7479c3fcff337bc247442016d8
lavc/bmp: Avoid a heap buffer overwrite for 1bpp input.

Found by Mingi Cho, Seoyoung Kim, and Taekyoung Kwon
of the Information Security Lab, Yonsei University.

(cherry picked from commit 1e34014010dba9325fc5430934b51a61a5007c63)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/bmp.c