summaryrefslogtreecommitdiff
path: root/xml.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2018-08-21 20:08:19 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-08-21 20:08:19 +0200
commit063717bbd69622a53b2ff6a44d27e471460287b2 (patch)
tree9ff49cc5ad4159fffbd03fa3503d4d54fb261c9f /xml.h
parentcbdc01910b1af558d4c2865063ad04f5645b6ff7 (diff)
xml: increase allowed size of attribute names
Diffstat (limited to 'xml.h')
-rw-r--r--xml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml.h b/xml.h
index d3cfe21..192ec72 100644
--- a/xml.h
+++ b/xml.h
@@ -31,7 +31,7 @@ typedef struct xmlparser {
/* current tag is in short form ? <tag /> */
int isshorttag;
/* current attribute name */
- char name[256];
+ char name[1024];
/* data buffer used for tag data, cdata and attribute data */
char data[BUFSIZ];
} XMLParser;