From: Andre Noll Date: Wed, 17 Aug 2011 17:08:17 +0000 (+0200) Subject: mp3dec: Fix possible endless loop. X-Git-Tag: v0.4.8~1 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=08d3a77eaeb04981d225a6938404f8ac901407b4;hp=08d3a77eaeb04981d225a6938404f8ac901407b4;p=paraslash.git mp3dec: Fix possible endless loop. If the header of the last frame of a (corrupt) mp3 file can be decoded but the rest of the frame can not, the mp3 decoder may end up in a busy loop. Fix this by performing the same check as for errors during header decode. This adds some code duplication but as we are late in the release cycle, let's go for the minimal fix for now. ---