]> git.sesse.net Git - ffmpeg/commit
pcx: properly pad the scanline
authorAnton Khirnov <anton@khirnov.net>
Sun, 14 Aug 2016 08:18:39 +0000 (10:18 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 18 Aug 2016 15:06:46 +0000 (17:06 +0200)
commit15ee419b7abaf17f8c662c145fe93d3dbf43282b
tree0c01f477c5f8011ed58123d5dce229aea73c3b90
parent409d1cd2c955485798f8b0b0147c2b899b9144ec
pcx: properly pad the scanline

It is passed to the get_bits API, which requires buffers to be padded.

Fixes possible invalid reads.

CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
libavcodec/pcx.c