aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/break/twice.out_lint
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-16 09:47:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-16 09:47:31 +0000
commitaabe46b7c8c0f9da0079b71a1eb350536961bc3f (patch)
tree39fb19e2d44158549869c4fe305c6058e4ec8abc /regress/mdoc/break/twice.out_lint
parent873dc9b1d77212924c035df9c1accfbb3a4a6a7e (diff)
downloadmandoc-aabe46b7c8c0f9da0079b71a1eb350536961bc3f.tar.gz
mandoc-aabe46b7c8c0f9da0079b71a1eb350536961bc3f.tar.zst
mandoc-aabe46b7c8c0f9da0079b71a1eb350536961bc3f.zip
Fix block scoping error if an explicit block is broken by two
implicit blocks (.Aq Bq Po .Pc) that left the outer breaker open and could in exceptional cases, like between .Bl and .It, cause tree corruption leading to NULL dereference. Found by tb@ with afl(1). While here, do not mark intermediate ENDBODY markers as broken.
Diffstat (limited to 'regress/mdoc/break/twice.out_lint')
-rw-r--r--regress/mdoc/break/twice.out_lint3
1 files changed, 3 insertions, 0 deletions
diff --git a/regress/mdoc/break/twice.out_lint b/regress/mdoc/break/twice.out_lint
index 6ac976c0..150800e9 100644
--- a/regress/mdoc/break/twice.out_lint
+++ b/regress/mdoc/break/twice.out_lint
@@ -6,3 +6,6 @@ mandoc: twice.in:25:2: WARNING: blocks badly nested: Bo breaks Ao
mandoc: twice.in:26:2: WARNING: blocks badly nested: Bo breaks Ao
mandoc: twice.in:32:11: WARNING: blocks badly nested: Bo breaks Aq
mandoc: twice.in:32:17: WARNING: blocks badly nested: Bo breaks Aq
+mandoc: twice.in:36:8: WARNING: blocks badly nested: Bq breaks Po
+mandoc: twice.in:36:2: WARNING: blocks badly nested: Aq breaks Po
+mandoc: twice.in:36:2: WARNING: moving content out of list: Aq