summaryrefslogtreecommitdiffstats
path: root/regress/man/TP/broken.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-09-09 17:01:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-09-09 17:01:10 +0000
commit2d14351d07ed74373585b7cf8b4146d5b5c91ccb (patch)
treeab3692958b73ce4bd51ba19a55eb8259e0f8542e /regress/man/TP/broken.in
parent13e486a002b2f9dbb4dbe9afce062db1944d8185 (diff)
downloadmandoc-2d14351d07ed74373585b7cf8b4146d5b5c91ccb.tar.gz
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 <jes at posteo dot de>.
Diffstat (limited to 'regress/man/TP/broken.in')
-rw-r--r--regress/man/TP/broken.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/regress/man/TP/broken.in b/regress/man/TP/broken.in
index 686b5559..b0813432 100644
--- a/regress/man/TP/broken.in
+++ b/regress/man/TP/broken.in
@@ -1,7 +1,7 @@
-.\" $OpenBSD: broken.in,v 1.3 2017/07/04 14:53:24 schwarze Exp $
-.TH TP-BROKEN 1 "December 16, 2014"
+.\" $OpenBSD: broken.in,v 1.4 2020/09/09 16:57:05 schwarze Exp $
+.TH TP-BROKEN 1 "September 9, 2020"
.SH NAME
-TP-broken \- broken tagged paragraph
+TP-broken \- broken tagged paragraphs
.SH DESCRIPTION
regular
text
@@ -16,3 +16,6 @@ text
head
body
+.TP
+.B
+.I