]> git.cameronkatri.com Git - mandoc.git/commit
Don't deref NULL if the only child of the first .Sh is an empty
authorIngo Schwarze <schwarze@openbsd.org>
Wed, 10 Aug 2016 20:17:50 +0000 (20:17 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Wed, 10 Aug 2016 20:17:50 +0000 (20:17 +0000)
commitea968bc9dd55733b728f8cdfe266ee97c4fd2813
treed74ca705b38844c618d718aed74bfc35468c8830
parent7e7a3a3122db15e60fa9a6b4c17f2a4c23ac3b80
Don't deref NULL if the only child of the first .Sh is an empty
in-line macro, and don't printf("%s", NULL) if the first child
of the first .Sh is a macro; again found by tb@ with afl(1).
(No, you should never use macros in any .Sh at all, please.)
mdoc_validate.c