Do not mark a block with the MDOC_BROKEN flag if it merely contains
authorschwarze <schwarze@openbsd.org>
Wed, 29 Apr 2015 14:48:17 +0000 (14:48 +0000)
committerschwarze <schwarze@openbsd.org>
Wed, 29 Apr 2015 14:48:17 +0000 (14:48 +0000)
commitea701e045d0dc2d06177b40c5e50b6defafe424d
tree5c2ff47f8896def56c6e0c239c73b4e0cc459911
parent16f08be4b1abba81be4ac4886c15fed8f48a0898
Do not mark a block with the MDOC_BROKEN flag if it merely contains
a mismatching explicit end macro without actually being broken.
Avoids a subsequent upward search for the non-existent breaker
ending up in a NULL pointer access; afl test case 005/Apr27 from jsg@.
usr.bin/mandoc/mdoc_macro.c