[BACK]Return to nobody.out_lint CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / man / TH

File: [cvsweb.bsd.lv] / mandoc / regress / man / TH / nobody.out_lint (download)

Revision 1.5, Wed Apr 13 14:45:51 2022 UTC (2 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -0 lines

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).

mandoc: nobody.in:3:2: WARNING: line scope broken: EOF breaks B
mandoc: nobody.in: WARNING: no document body