diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-11-30 15:00:47 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-12-08 12:55:10 +0100 |
commit | 9a2e79116d6235c53d8e9663a8d30d1950d7431a (patch) | |
tree | dd8b6b351db8b31ed596f25434ddd052ff29d9e3 /tools/graph2dot.c | |
parent | 1c012e6bfb775eeb01355bfed7229c6795b3f3fc (diff) | |
download | ffmpeg-9a2e79116d6235c53d8e9663a8d30d1950d7431a.tar.gz |
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 'tools/graph2dot.c')
0 files changed, 0 insertions, 0 deletions