From: Karel Patlejch Date: Sun, 6 Mar 2016 20:15:18 +0000 (+0100) Subject: Fixed bug #725 - changed the maximum length of an APE key to 255 X-Git-Tag: v1.11~7^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff8b6a91e7fbb9c0b5849c652d423904fe41ede8;p=taglib Fixed bug #725 - changed the maximum length of an APE key to 255 --- diff --git a/taglib/ape/apetag.cpp b/taglib/ape/apetag.cpp index dfbd3076..89ef8ff4 100644 --- a/taglib/ape/apetag.cpp +++ b/taglib/ape/apetag.cpp @@ -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)