When validating a .Bl list that defaults to -item for want of a type,
authorschwarze <schwarze@openbsd.org>
Wed, 10 Aug 2016 12:04:57 +0000 (12:04 +0000)
committerschwarze <schwarze@openbsd.org>
Wed, 10 Aug 2016 12:04:57 +0000 (12:04 +0000)
commit2c7eb483b5f3d8c4e658c541f9b396c3e7727a57
tree28ae1c3d6475b3c27da2add10e4fb5c1a662ed11
parentdf679eaac380e458f97225a61ff315f392dd0d2c
When validating a .Bl list that defaults to -item for want of a type,
don't let a subsequent -width access mdoc_argnames[] out of bounds.
Found by tb@ with afl(1).
usr.bin/mandoc/mdoc_validate.c