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>
Sat, 4 Oct 2014 21:52:29 +0000 (23:52 +0200)
commit506368f563b80a1b3663d31194171b00fdbf4bed
treed64a70c248e1d856986193fd22f8e0b65679aa79
parentc0c24bc9b32419c7883a344c74a6779374a3c16a
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