xml parser BUGFIX invalid string comparison

length limit was too short and matched other strings than supposed
diff --git a/src/xml.c b/src/xml.c
index 6dd7b6b..617f7e8 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -594,7 +594,7 @@
     int32_t n;
 
     for (*len = o = 0; cdsect || data[*len] != delim; o++) {
-        if (!data[*len] || (!cdsect && !memcmp(&data[*len], "]]>", 2))) {
+        if (!data[*len] || (!cdsect && !memcmp(&data[*len], "]]>", 3))) {
             LOGVAL(LYE_XML_INVAL, LY_VLOG_NONE, NULL, "element content, \"]]>\" found");
             goto error;
         }