summaryrefslogtreecommitdiffstats
path: root/third_party/libxml/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libxml/error.c')
-rw-r--r--third_party/libxml/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/libxml/error.c b/third_party/libxml/error.c
index 722ffbb..5f03d94 100644
--- a/third_party/libxml/error.c
+++ b/third_party/libxml/error.c
@@ -31,7 +31,7 @@ void XMLCDECL xmlGenericErrorDefaultFunc (void *ctx ATTRIBUTE_UNUSED,
\
size = 150; \
\
- while (1) { \
+ while (size < 64000) { \
va_start(ap, msg); \
chars = vsnprintf(str, size, msg, ap); \
va_end(ap); \