diff options
author | 2022-04-13 14:45:50 +0000 | |
---|---|---|
committer | 2022-04-13 14:45:50 +0000 | |
commit | 4062479d6729bdfb0de4954e7a413ca3282d17cd (patch) | |
tree | 9ef35b186e377ce875cbb2d651d6f4ee726d2fc5 /regress/man/TH/nobody.in | |
parent | ca9bc03cff40f97d7cd61a8a1ad5f04878abee7a (diff) | |
download | mandoc-4062479d6729bdfb0de4954e7a413ca3282d17cd.tar.gz mandoc-4062479d6729bdfb0de4954e7a413ca3282d17cd.tar.zst mandoc-4062479d6729bdfb0de4954e7a413ca3282d17cd.zip |
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.in')
-rw-r--r-- | regress/man/TH/nobody.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/man/TH/nobody.in b/regress/man/TH/nobody.in index b24909ad..5ef4c1d4 100644 --- a/regress/man/TH/nobody.in +++ b/regress/man/TH/nobody.in @@ -1,2 +1,3 @@ -.\" $OpenBSD: nobody.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $ -.TH TH-NOBODY 1 "June 20, 2014" +.\" $OpenBSD: nobody.in,v 1.3 2022/04/13 14:37:34 schwarze Exp $ +.TH TH-NOBODY 1 "April 13, 2022" +.B |