summaryrefslogtreecommitdiffstats
path: root/soelim.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
commit9ae0b6df47c6577bc5d637a71363e55c9feae504 (patch)
tree98c0b396904119b3205a3a65b938a1165179453b /soelim.c
parent14900fe7cc68ef746633548fdd98ddfc1085d664 (diff)
downloadmandoc-9ae0b6df47c6577bc5d637a71363e55c9feae504.tar.gz
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 'soelim.c')
0 files changed, 0 insertions, 0 deletions