ref: 4a74ece11838d5afe298676e6a72f9b13256e596
parent: 5b1e9a75471cec9543948a9405fc5b1966750164
author: cbagwell <cbagwell>
date: Mon Feb 20 22:15:24 EST 2006
Fix infinite loop reading tags of size 8192.
--- a/src/mp3.c
+++ b/src/mp3.c
@@ -183,7 +183,7 @@
* means that we really need a loop to continue reading
* more data.
*/
- if (tagsize > remaining)
+ if (tagsize >= remaining)
{
/* Discard the remaining data and read the rest of the tag
* data from the file and start over.