diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-05-01 16:58:33 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-05-01 16:58:33 +0000 |
commit | 9ae0b6df47c6577bc5d637a71363e55c9feae504 (patch) | |
tree | 98c0b396904119b3205a3a65b938a1165179453b /compat_strcasestr.c | |
parent | 14900fe7cc68ef746633548fdd98ddfc1085d664 (diff) | |
download | mandoc-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 'compat_strcasestr.c')
0 files changed, 0 insertions, 0 deletions