On 03/08/14 02:14, Vittorio Giovara wrote:
> From: Michael Niedermayer <[email protected]>
> 
> Prevents out of array writes
> 
> CC: [email protected]
> Bug-Id: CVE-2013-0868
> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
> Signed-off-by: Vittorio Giovara <[email protected]>
> ---
>  libavcodec/huffyuvdec.c | 25 +++++++++++++++----------
>  1 file changed, 15 insertions(+), 10 deletions(-)
> 
> diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c
> index 9d2fbaf..06984ce 100644
> --- a/libavcodec/huffyuvdec.c
> +++ b/libavcodec/huffyuvdec.c
> @@ -105,8 +105,9 @@ static int read_len_table(uint8_t *dst, GetBitContext *gb)
>      return 0;
>  }
>  

Seems ok to me.

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to