]> granicus.if.org Git - taglib/commitdiff
Fixed bug #725 - changed the maximum length of an APE key to 255
authorKarel Patlejch <kaja.patlejch@gmail.com>
Sun, 6 Mar 2016 20:15:18 +0000 (21:15 +0100)
committerKarel Patlejch <kaja.patlejch@gmail.com>
Sun, 6 Mar 2016 20:15:18 +0000 (21:15 +0100)
taglib/ape/apetag.cpp

index dfbd3076019c7b67979a469bb62f9cd9eeb2e645..89ef8ff41a625460907daac124536fe7316471b0 100644 (file)
@@ -51,7 +51,7 @@ namespace
   {
     const char *invalidKeys[] = { "ID3", "TAG", "OGGS", "MP+", 0 };
 
-    if(length < 2 || length > 16)
+    if(length < 2 || length > 255)
       return false;
 
     // only allow printable ASCII including space (32..126)