summaryrefslogtreecommitdiff
path: root/sfeed_opml_import.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2023-04-14 19:11:03 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2023-04-14 19:11:03 +0200
commitebd7175e56141e8e8816b1b27f1abc773818b6aa (patch)
tree6e3dd8195f6d336b55d8dcee20056a25c15ac8d7 /sfeed_opml_import.c
parenteb8d6cf63815bff6697ebc7ae1b83f998b6eab53 (diff)
slightly reduce stack size for entities
A numeric entity could be 5 bytes, so use a round number of 8 bytes.
Diffstat (limited to 'sfeed_opml_import.c')
-rw-r--r--sfeed_opml_import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c
index 14b5444..9922133 100644
--- a/sfeed_opml_import.c
+++ b/sfeed_opml_import.c
@@ -70,7 +70,7 @@ static void
xmlattrentity(XMLParser *p, const char *t, size_t tl, const char *n, size_t nl,
const char *v, size_t vl)
{
- char buf[16];
+ char buf[8];
int len;
if ((len = xml_entitytostr(v, buf, sizeof(buf))) > 0)