summaryrefslogtreecommitdiffstats
path: root/regress/man/TH/nobody.out_lint
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-04-13 14:45:50 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-04-13 14:45:50 +0000
commit882b0df046673132c4d2d6f14969d087ead1d87c (patch)
tree8278d398b2c5f52742f7333e887a1378725d743c /regress/man/TH/nobody.out_lint
parent9460c128e40f65cfb15e776c2d51ea26f06b4ef7 (diff)
downloadmandoc-882b0df046673132c4d2d6f14969d087ead1d87c.tar.gz
Do not die on an assertion if an input file contains no section
whatsoever and ends with a broken next-line scope. Obviously, this cannot happen in a real manual page, but mandoc(1) should not die even when fed absurd input. This bug was independently reported by both jsg@ and tb@ who both found it with afl(1).
Diffstat (limited to 'regress/man/TH/nobody.out_lint')
-rw-r--r--regress/man/TH/nobody.out_lint1
1 files changed, 1 insertions, 0 deletions
diff --git a/regress/man/TH/nobody.out_lint b/regress/man/TH/nobody.out_lint
index f5439fcd..dae5fdf0 100644
--- a/regress/man/TH/nobody.out_lint
+++ b/regress/man/TH/nobody.out_lint
@@ -1 +1,2 @@
+mandoc: nobody.in:3:2: WARNING: line scope broken: EOF breaks B
mandoc: nobody.in: WARNING: no document body