summaryrefslogtreecommitdiff
path: root/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'xml.c')
-rw-r--r--xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml.c b/xml.c
index 07dcc7b..0679c3b 100644
--- a/xml.c
+++ b/xml.c
@@ -389,7 +389,7 @@ xml_parse(XMLParser *x)
x->xmltagend(x, x->tag, x->taglen, 1);
break;
} else if (taglen < sizeof(x->tag) - 1)
- x->tag[taglen++] = c;
+ x->tag[taglen++] = c; /* NOTE: tag name truncation */
}
}
} else {