aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/manpath.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-05-01 16:58:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-05-01 16:58:33 +0000
commit631dcbd03b42795bbc37c57d62a32f1ebbe3f1b9 (patch)
treec5d0ad421e53f818e87c8c85ab2e57830f8736e9 /manpath.c
parent20bd05bc1165d2c8e7af3c9a8ec1282785f9bc0f (diff)
downloadmandoc-631dcbd03b42795bbc37c57d62a32f1ebbe3f1b9.tar.gz
mandoc-631dcbd03b42795bbc37c57d62a32f1ebbe3f1b9.tar.zst
mandoc-631dcbd03b42795bbc37c57d62a32f1ebbe3f1b9.zip
mdoc_valid_post() may indirectly call roff_node_unlink() which may
set ROFF_NEXT_CHILD, which is desirable for the final call to mdoc_valid_post() - in case the target itself gets deleted, the parse point may need this adjustment - but not for the intermediate calls - if intermediate nodes get deleted, that mustn't clobber the parse point. So move setting ROFF_NEXT_SIBLING to the proper place in rew_last(). This fixes the assertion failure in jsg@'s afl test case 108/Apr27.
Diffstat (limited to 'manpath.c')
0 files changed, 0 insertions, 0 deletions