summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index 0df787d..207cc7f 100644
--- a/lib.c
+++ b/lib.c
@@ -37,7 +37,7 @@ __attribute__((unused)) static int urldecode (char * o, const char * i /* o must
return 1;
}
static char * htmlspecialchars (const char * i) { /* remember to free the output */
- if (!i)
+ if (!i) // output will not be longer than strlen(i)*6
return NULL;
size_t s = 128;
char * o = malloc(s);