aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/msrle.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-06-11 10:29:57 -0400
committerAnton Khirnov <anton@khirnov.net>2012-09-28 08:07:00 +0200
commitd9ffa2aca1e438a44d41f3ef3aeb8ef396bcd7b0 (patch)
tree6de6ea15d2ecfbc8eb87324e64620e1ba9a624d5 /libavcodec/msrle.c
parent7124fa5d3640e5b8089dd13b22a09038b2ec5216 (diff)
downloadffmpeg-d9ffa2aca1e438a44d41f3ef3aeb8ef396bcd7b0.tar.gz
golomb: check remaining bits during unary decoding in get_ur_golomb_jpegls()
Fixes infinite loop in FLAC decoding in case of a truncated bitstream due to the safe bitstream reader returning 0's at the end. Fixes Bug 310. CC:libav-stable@libav.org (cherry picked from commit 4795362660a526a38a7a60f06826bce97a092b59) Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/msrle.c')
0 files changed, 0 insertions, 0 deletions