Avoid out-of-bounds read access before the beginning of the
authorschwarze <schwarze@openbsd.org>
Mon, 20 Apr 2015 09:48:19 +0000 (09:48 +0000)
committerschwarze <schwarze@openbsd.org>
Mon, 20 Apr 2015 09:48:19 +0000 (09:48 +0000)
commitbfef5133781354310ad3c096593d7e3e3e0c04f4
treec03540cdc3f317c6d140965656ef5246eeaf5569
parent03e78375c3c5f7274427d5b11493c79327e88305
Avoid out-of-bounds read access before the beginning of the
mdoc_macros[] array.  This sometimes prevented proper warnings
about text nodes preceding the first section header.
usr.bin/mandoc/mdoc_validate.c