Skip to content
Snippets Groups Projects
Commit 752e6dfa authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/ccaption_dec: Use simple array instead of AVBuffer


This is simpler and fixes an out of array read, fixing it with AVBuffers
would be more complex

Fixes: e00d9e6e50e5495cc93fea41147b97bb/asan_heap-oob_12dcdbb_8798_b32a97ea722dd37bb5066812cc674552.mov

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 7b3bc365
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment