diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-03 18:22:05 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-03 18:22:05 +0000 |
commit | de93041d8e0ce21e7e6c64532cd0e35c08fa158b (patch) | |
tree | 1b711f35aaf39314d94da982384acd6920a55937 | |
parent | f4987e6960b8fe67bfab4eb7ef4755c548a01faf (diff) | |
download | mandoc-de93041d8e0ce21e7e6c64532cd0e35c08fa158b.tar.gz |
Avoid closing out an explicit block twice when broken by .It
(assertion failure); regression found in jsg@'s afl test case 847.
-rw-r--r-- | mdoc_macro.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c index 85e70b21..4dc3dade 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -967,6 +967,7 @@ blk_full(MACRO_PROT_ARGS) "It breaks %s", mdoc_macronames[blk->tok]); rew_pending(mdoc, blk); + blk = NULL; } /* Close out prior implicit scopes. */ |