aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/msec.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-20 02:26:57 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-20 02:26:57 +0000
commit131536e9db97d6e17c7ad140f235ff329878faed (patch)
tree2e1899ad89b5bd3790e6bf7889135864954e9f33 /msec.c
parent08a2629c897fd6b8aec166a30d03fa6cf1b6b954 (diff)
downloadmandoc-131536e9db97d6e17c7ad140f235ff329878faed.tar.gz
mandoc-131536e9db97d6e17c7ad140f235ff329878faed.tar.zst
mandoc-131536e9db97d6e17c7ad140f235ff329878faed.zip
Fix two issues causing a class of assertion failures found by jsg@ with afl.
1) rew_sub(): Make sure REWIND_MORE is acted upon even when followed by REWIND_NONE. This prevents .It from ending up inside other children of .Bl. 2) blk_exp_close(): Only allow extension of .Bl when it has at least one .It. Otherwise, a broken child block could be moved in front of the .Bl, effectively resulting in a .Bl that ended before it began.
Diffstat (limited to 'msec.c')
0 files changed, 0 insertions, 0 deletions