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 22:21:17 +0000 (00:21 +0200)
commit075a165d2715837d125a9cc714fb430ccf6c9d6b
tree61c9f5eeaaac620546b148cc59d21c41aacff1f2
parentc727401aa9d62335e89d118a5b4e202edf39d905
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>
libavcodec/svq3.c