summaryrefslogtreecommitdiff
path: root/libavcodec/cook.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-08-14 10:18:39 +0200
committerAnton Khirnov <anton@khirnov.net>2016-08-18 17:06:46 +0200
commitbba9d8bdfb208b0ec2ccf182530347151ee3528b (patch)
tree6f3e9f60b791ab1dceb10b74fe966a6f03b7523b /libavcodec/cook.c
parent796dca027be09334d7bbf4f2ac1200e06bb054cb (diff)
qpeg: fix an off by 1 error in the MV check
height - me_y is the line from which we read, so it must be strictly smaller than the frame height. Fixes possible invalid reads in corrupted files. Also, use a proper context for logging the error. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Diffstat (limited to 'libavcodec/cook.c')
0 files changed, 0 insertions, 0 deletions