diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-08 15:28:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-08 15:28:09 +0000 |
commit | a7d3439bd1214fd20650366b5177cb87d787982d (patch) | |
tree | ccfc96c58294200e1dbb946a84619ad3978cf3f8 /roff.c | |
parent | d0fd318699f4643ac39d3c0a9d6676fd495f5aaf (diff) | |
download | mandoc-a7d3439bd1214fd20650366b5177cb87d787982d.tar.gz |
fix an assertion failure triggered by .ce in next-line scope;
found by jsg@ with afl(1)
Diffstat (limited to 'roff.c')
-rw-r--r-- | roff.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2934,7 +2934,8 @@ roff_onearg(ROFF_ARGS) int npos; if (r->man->flags & (MAN_BLINE | MAN_ELINE) && - (tok == ROFF_sp || tok == ROFF_ti)) + (tok == ROFF_ce || tok == ROFF_rj || tok == ROFF_sp || + tok == ROFF_ti)) man_breakscope(r->man, tok); if (roffce_node != NULL && (tok == ROFF_ce || tok == ROFF_rj)) { |