From ff8b6a91e7fbb9c0b5849c652d423904fe41ede8 Mon Sep 17 00:00:00 2001 From: Karel Patlejch Date: Sun, 6 Mar 2016 21:15:18 +0100 Subject: [PATCH] Fixed bug #725 - changed the maximum length of an APE key to 255 --- taglib/ape/apetag.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)