From 6d805c41a1ebaced20ab413c14db4fa70c044f2c Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 9 Sep 2020 17:01:10 +0000 Subject: Element next-line scopes can nest. Consequently, even when closing one element next-line scope, the MAN_ELINE flag must not yet be cleared if the parent macro is another element macro having next-line scope, or an assertion failure is caused if all this is wrapped in another macro that has block next-line scope, for example .TP. Bug found in an afl run performed by Jan Schreiber . --- regress/man/TP/macrotag.out_ascii | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'regress/man/TP/macrotag.out_ascii') diff --git a/regress/man/TP/macrotag.out_ascii b/regress/man/TP/macrotag.out_ascii index e466adcf..97b604a8 100644 --- a/regress/man/TP/macrotag.out_ascii +++ b/regress/man/TP/macrotag.out_ascii @@ -3,7 +3,7 @@ TP-MACROTAG(1) General Commands Manual TP-MACROTAG(1) NNAAMMEE - TP-macrotag - macro in the head of a tagged paragraph + TP-macrotag - macros in the head of tagged paragraphs DDEESSCCRRIIPPTTIIOONN regular text @@ -11,8 +11,14 @@ DDEESSCCRRIIPPTTIIOONN lloonnggiinnddeenntt indented text + _n_e_x_t_-_l_i_n_e + indented text + + bboolldd ssmmaallll + indented text + regular text -OpenBSD September 20, 2011 TP-MACROTAG(1) +OpenBSD September 9, 2020 TP-MACROTAG(1) -- cgit v1.2.3-56-ge451