Do not segfault in makewhatis -Q if the next .SH after .SH NAME
authorschwarze <schwarze@openbsd.org>
Wed, 7 May 2014 14:11:24 +0000 (14:11 +0000)
committerschwarze <schwarze@openbsd.org>
Wed, 7 May 2014 14:11:24 +0000 (14:11 +0000)
commit4c84596f10a705a51731a1e03ab5d3113db3df09
tree429443539d4904429a9b9ab946e033e5e19c359d
parentb3619e6706d55c07a60a9414df8d9c5151b5e12d
Do not segfault in makewhatis -Q if the next .SH after .SH NAME
does not have any arguments.  Crash found by nigel@ in kermit(1).
usr.bin/mandoc/man.c