When looking for the next block to tag, we aren't interested in children
authorschwarze <schwarze@openbsd.org>
Wed, 8 Jun 2022 16:29:12 +0000 (16:29 +0000)
committerschwarze <schwarze@openbsd.org>
Wed, 8 Jun 2022 16:29:12 +0000 (16:29 +0000)
commit176a26ab0dba12d8c053376f32e5accba9e9166a
tree174878b6b606c7c636d3e6b410bf6cbbda14f169
parent02294408b698891e161ac446f4327124cb2fa941
When looking for the next block to tag, we aren't interested in children
of the current block but really want the next block instead.  This fixes
a segfault reported by Evan Silberman <evan at jklol dot net> on bugs@.
usr.bin/mandoc/mdoc_validate.c