wilsonyu2006 / mutagen

Automatically exported from code.google.com/p/mutagen
GNU General Public License v2.0
0 stars 0 forks source link

mutagen does not check for valid tag size <= 28 bits #150

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ID3 spec states that header size should only use 28 of the 32 bits in the size 
field i.e. size <=256MB.

mutagen id3.py __load_header does not check for valid size (at least if 
PEDANTIC is True).

Original issue reported on code.google.com by Sophist...@gmail.com on 25 May 2013 at 8:54

GoogleCodeExporter commented 8 years ago
Not 100% correct: mutagen will ignore those 4 bits (but doesn't check if they 
are zero aka synchsafe)

Any particular reason why you want this to be more strict?

Original comment by reiter.christoph@gmail.com on 4 Sep 2013 at 11:39

GoogleCodeExporter commented 8 years ago
Well if PEDANTIC is True, I think it should probably check.

Original comment by Sophist...@gmail.com on 4 Sep 2013 at 12:17

GoogleCodeExporter commented 8 years ago
Fair enough.

Original comment by reiter.christoph@gmail.com on 4 Sep 2013 at 12:47

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 46a4ac82d8fa.

Original comment by reiter.christoph@gmail.com on 4 Sep 2013 at 3:15