mirror of https://github.com/FFmpeg/FFmpeg.git
The code currently reads the coded dimensions from the extradata, but expects the display dimensions to be set by the caller, and does not check that they are compatible (i.e. that the displayed size is smaller than the coded size). Make sure that when the display dimensions are set, they are also valid. Fixes possible invalid memory access. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwindpull/244/merge
parent
33f10546ec
commit
6755eb5b21
1 changed files with 10 additions and 0 deletions
Loading…
Reference in new issue