aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit6d805c41a1ebaced20ab413c14db4fa70c044f2c (patch)
treef813902674ab2ec8945487c148c519880debf090 /regress/man/TP/broken.in
parentcc64a9f0b63e16d12edd76ca35a7e99aa3519fc7 (diff)
downloadmandoc-6d805c41a1ebaced20ab413c14db4fa70c044f2c.tar.gz
mandoc-6d805c41a1ebaced20ab413c14db4fa70c044f2c.tar.zst
mandoc-6d805c41a1ebaced20ab413c14db4fa70c044f2c.zip
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