avcodec/svq3: Dont memcpy AVFrame
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 22:13:26 +0000 (00:13 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 23:15:09 +0000 (01:15 +0200)
commit603f4ecd14a170104d97ad5ffd64f7d394ed4d07
treec7a6cd140640f092e076336e186e099981317185
parent1ac4ae2a32d16c97792f40df660cd8c4a9e049b2
avcodec/svq3: Dont memcpy AVFrame

This avoids out of array accesses

Fixes: asan_heap-uaf_21f42e4_9_asan_heap-uaf_21f42e4_278_gl2.mov

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 075a165d2715837d125a9cc714fb430ccf6c9d6b)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/svq3.c