OSDN Git Service

h264_refs: make sure not to write over the bounds of the default ref list
authorAnton Khirnov <anton@khirnov.net>
Fri, 15 Nov 2013 18:06:23 +0000 (19:06 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 27 Nov 2013 21:24:40 +0000 (22:24 +0100)
commit4d388c0cd05dd4de545e8ea333ab4de7d67ad12d
tree3734c236c61462510469145280dc9594d4b57d11
parentfa515c2088e1d082d45741bbd5c05e13b0500804
h264_refs: make sure not to write over the bounds of the default ref list

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