From ea68f8830dcea3c21b91b02bf3bede8789961acd Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 26 Nov 2016 17:44:23 +0100 Subject: Allocate enough bytes for backticks array. --- src/inlines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/inlines.c b/src/inlines.c index 3a5733f..f1c863f 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -58,7 +58,7 @@ typedef struct { cmark_reference_map *refmap; delimiter *last_delim; bracket *last_bracket; - bufsize_t backticks[MAXBACKTICKS]; + bufsize_t backticks[MAXBACKTICKS + 1]; bool scanned_for_backticks; } subject; -- cgit v1.2.3