angler-fishThe Vulnerability History Project

avcodec/mjpegdec: Fix context fields becoming inconsistent

      Fixes out of array access
Fixes: asan_heap-oob_1ca4f85_2760_cov_144449187_miss_congeniality_pegasus_ljpg.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
    
commit 0eecf40935b22644e6cd74c586057237ecfd6844
+4 -16
expand_less