Hi,

On Fri, Nov 30, 2012 at 10:56 AM, Janne Grunau <janne-li...@jannau.net> wrote:
> This prevents undefined behaviour of signed left shift if the coded
> value is larger than 2^31. Large values are most likely invalid and
> caused errors or by feeding random.
>
> Validate every use of svq3_get_ue_golomb() and changed the place there
> the return value was compared with negative numbers. dirac.c was clean,
> fixed rv30 and svq3.
> ---
>  libavcodec/golomb.h |  5 +++--
>  libavcodec/rv30.c   |  6 +++---
>  libavcodec/svq3.c   | 17 ++++++++---------
>  3 files changed, 14 insertions(+), 14 deletions(-)

OK.

Ronald
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to