Do not attempt to decode APE file with no frames
authorKostya <kostya.shishkov@gmail.com>
Tue, 15 Mar 2011 09:19:43 +0000 (09:19 +0000)
committerReinhard Tartler <siretart@tauware.de>
Fri, 18 Mar 2011 16:02:34 +0000 (17:02 +0100)
commitf9bf2a4ab10a0718a11d43fecba75bb40aac6628
tree1900bf258165588dbb3b59b81c948b711b19c40d
parentcf69619141a5742c4e4156177335d553c5bab7b6
Do not attempt to decode APE file with no frames

This fixes invalid reads/writes with this sample:
http://packetstorm.linuxsecurity.com/1103-exploits/vlc105-dos.txt
(cherry picked from commit 8312e3fc9041027a33c8bc667bb99740fdf41dd5)
libavformat/ape.c