h264_cavlc: check the size of the intra PCM data.
authorAnton Khirnov <anton@khirnov.net>
Fri, 15 Nov 2013 08:42:26 +0000 (09:42 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 21 Nov 2013 19:52:34 +0000 (20:52 +0100)
commit074c769de93bf12e9f44d77e58a8c7167f9dfb13
tree574e79c09681e1106f2163732821de3cc4a0c0b2
parentac0e03bab00182f845cd02d458f404ee30ef0998
h264_cavlc: check the size of the intra PCM data.

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