- Commit
- ea68f8830dcea3c21b91b02bf3bede8789961acd
- Parent
- 450c43badee13eb84e771ecaf66f0ac113e111c0
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Allocate enough bytes for backticks array.
My personal build of CMark ✏️
Allocate enough bytes for backticks array.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/inlines.c | 2 | 1 | 1 |
diff --git 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;