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>
Wed, 16 Mar 2011 11:53:52 +0000 (12:53 +0100)
commit8312e3fc9041027a33c8bc667bb99740fdf41dd5
treec94c3b3aa28fe2c7c86aa1ee8b019ac139b3681f
parent1dac4d554734b16757b36a0adc71642c5ef2c4e6
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
libavformat/ape.c