diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-11-26 17:44:23 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-11-26 17:44:23 +0100 |
commit | ea68f8830dcea3c21b91b02bf3bede8789961acd (patch) | |
tree | 349b98649035736c47aa543c64dad29c46dad922 | |
parent | 450c43badee13eb84e771ecaf66f0ac113e111c0 (diff) |
Allocate enough bytes for backticks array.
-rw-r--r-- | src/inlines.c | 2 |
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; |