cdgraphics: switch to bytestream2
authorAnton Khirnov <anton@khirnov.net>
Wed, 6 Aug 2014 10:46:50 +0000 (10:46 +0000)
committerAnton Khirnov <anton@khirnov.net>
Wed, 6 Aug 2014 18:41:42 +0000 (18:41 +0000)
commit5bf5a35fb5d452ea4b30cd7b853d92df6705d250
treec1b015c0ec44a5a17969d116f2260b088b9da095
parent6598aaea1ad2cf82d40abb191ac26a5e4e5147ba
cdgraphics: switch to bytestream2

Fixes possible invalid memory accesses on corrupted data.

CC:libav-stable@libav.org
Bug-ID: CVE-2013-3674
(cherry picked from commit a1599f3f7ea8478d1f6a95e59e3bc6bc86d5f812)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/cdgraphics.c