vmnc: check that subrectangles fit into their containing rectangles
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)
commitf5d46d332258dcd8ca623019ece1d5e5bb74142b
tree1a1f550f6a000b89b23887025f2d3ea8d74c6fbd
parent83b92a855e8e08bdec484e13ee5a7c8996224772
vmnc: check that subrectangles fit into their containing rectangles

Fixes possible invalid writes with corrupted files.

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