summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-11-26 17:44:23 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-11-26 17:44:23 +0100
commitea68f8830dcea3c21b91b02bf3bede8789961acd (patch)
tree349b98649035736c47aa543c64dad29c46dad922 /src
parent450c43badee13eb84e771ecaf66f0ac113e111c0 (diff)
Allocate enough bytes for backticks array.
Diffstat (limited to 'src')
-rw-r--r--src/inlines.c2
1 files changed, 1 insertions, 1 deletions
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;