From: Fiona Glaser Date: Wed, 31 Mar 2010 06:30:09 +0000 (-0700) Subject: Fix array overread in b8x16 search X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b31b6cd2ed6e368970171c5a36d66dcfc0917dd;p=libx264 Fix array overread in b8x16 search --- diff --git a/encoder/analyse.c b/encoder/analyse.c index fbb97aba..ce7520af 100644 --- a/encoder/analyse.c +++ b/encoder/analyse.c @@ -2121,7 +2121,7 @@ static void x264_mb_analyse_inter_b16x8( x264_t *h, x264_mb_analysis_t *a ) static void x264_mb_analyse_inter_b8x16( x264_t *h, x264_mb_analysis_t *a ) { ALIGNED_ARRAY_8( uint8_t, pix,[2],[8*16] ); - ALIGNED_4( int16_t mvc[2][2] ); + ALIGNED_4( int16_t mvc[3][2] ); int i, j, l, i_ref; h->mb.i_partition = D_8x16;