From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 72b27670 for ; Sat, 8 Jul 2017 10:28:39 -0500 (EST) Date: Sat, 8 Jul 2017 10:28:39 -0500 (EST) Message-Id: <2896375155508853715.enqueue@fantadrom.bsd.lv> X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: fix an assertion failure triggered by .ce in next-line scope; X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- fix an assertion failure triggered by .ce in next-line scope; found by jsg@ with afl(1) Modified Files: -------------- mandoc: roff.c Revision Data ------------- Index: roff.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/roff.c,v retrieving revision 1.319 retrieving revision 1.320 diff -Lroff.c -Lroff.c -u -p -r1.319 -r1.320 --- roff.c +++ roff.c @@ -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)) { -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv