diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-10-26 11:57:43 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-10-26 11:57:43 -0700 |
commit | c3f9a7caecbf5239f29b6fd1a7edf47df4fc6d21 (patch) | |
tree | fdf0aa4ffb2b8b222015bb60706d4832dd21f30d /data | |
parent | 15422f68253bd5d877f0b308b1bf6caec6e0eb79 (diff) |
Add EMPHASIS_STACK_LIMIT.
If we get more than 1000 deep in potential emphasis/strong emphasis
openers, we refuse to add more to the stack. This prevents the
sort of stack overflow we previously got with
python -c 'print "*a **a " * 100000; print " a** a*" * 100000' | ./cmark
Partially addresses #166.
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions