* mandoc: fix an assertion failure triggered by .ce in next-line scope;
@ 2017-07-08 15:28 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-07-08 15:28 UTC (permalink / raw)
To: source
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-08 15:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-08 15:28 mandoc: fix an assertion failure triggered by .ce in next-line scope; schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).