diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-09-09 10:26:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-09-28 14:23:06 +0200 |
commit | 65c10f0f5c5212f903feb30a5f65700caa6f0b2e (patch) | |
tree | 2eaa33f2203d639201387a453419f37b78e09be0 /libavformat/avr.c | |
parent | ed1c6f701a7861c77e89530d081e87da6fb3d3a7 (diff) | |
download | ffmpeg-65c10f0f5c5212f903feb30a5f65700caa6f0b2e.tar.gz |
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: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 752e6dfa3ea97e7901870bdd9e5a51f860607240)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/avr.c')
0 files changed, 0 insertions, 0 deletions