Bug#677148: mpg123_getformat() hangs in endless loop

Thomas Orgis thomas-forum at orgis.org
Wed Jun 13 06:30:26 UTC 2012


Am Tue, 12 Jun 2012 23:16:02 +0200
schrieb Thomas Orgis <thomas-forum at orgis.org>: 

>  I'm not totally sure about a followup detail about cleaner abort (it's in mpg123 trunk in addition to the patch), but you can expect mpg123-1.14.3 sometime in the near future with a fix.

Update: It might be good to know that this problematic behaviour is
specific to mgp123 1.14.1 and up. I fixed one bug in the parser and
thus changed the resync behaviour to result in the apparently endless
loop here.

Let's keep in mind that the loop is not endless, though. It is just
reading the file very slowly. The next release will contain a proper
fix after I review the parser logic. In the end, it's a question of how
hard one tries to find valid data.

Btw., current mgp123 trunk doesn't search 64 K for a followup header
but uses the maximal frame size it supports anyway (bringing the byte
count down by factor 20 or so).


Alrighty then,

Thomas

PS: What happened to that file? Is it intentionally screwed up?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20120613/b9005672/attachment.pgp>


More information about the pkg-multimedia-maintainers mailing list