• Luca Barbato's avatar
    bitstream: Avoid undefined behavior in bitstream_skip() · 79f64f7e
    Luca Barbato authored
    Do not use skip_remaining() to fully wipe the cache, as this could do
    a 64-bit shift of a 64-bit variable which is undefined behavior in C.
    Instead set the related variables to zero directly.
    
    Thanks to Uoti for pointing out the problem.
    
    CC: libav-stable@libav.org
    79f64f7e
Name
Last commit
Last update
avbuild Loading commit data...
avtools Loading commit data...
compat Loading commit data...
doc Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...