Skip to content
Snippets Groups Projects
Commit def69553 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Martin Storsjö
Browse files

h264_cabac: Break infinite loops


This fixes out of array reads and/or infinite loops.

30 is the maximum number of bits that can be read into
coeff_abs below.

CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 402fb555
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment