Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-11-30 18:00:47 +0400
committerJanne Grunau <janne-libav@jannau.net>2012-12-08 15:55:10 +0400
commit9a2e79116d6235c53d8e9663a8d30d1950d7431a (patch)
treedd8b6b351db8b31ed596f25434ddd052ff29d9e3 /libavutil/x86
parent1c012e6bfb775eeb01355bfed7229c6795b3f3fc (diff)
golomb: use unsigned arithmetics in svq3_get_ue_golomb()
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.
Diffstat (limited to 'libavutil/x86')
0 files changed, 0 insertions, 0 deletions