diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-08-21 20:08:19 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-08-21 20:08:19 +0200 |
commit | 063717bbd69622a53b2ff6a44d27e471460287b2 (patch) | |
tree | 9ff49cc5ad4159fffbd03fa3503d4d54fb261c9f /xml.c | |
parent | cbdc01910b1af558d4c2865063ad04f5645b6ff7 (diff) |
xml: increase allowed size of attribute names
Diffstat (limited to 'xml.c')
-rw-r--r-- | xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |