diff options
author | 2014-12-20 02:26:57 +0000 | |
---|---|---|
committer | 2014-12-20 02:26:57 +0000 | |
commit | 131536e9db97d6e17c7ad140f235ff329878faed (patch) | |
tree | 2e1899ad89b5bd3790e6bf7889135864954e9f33 /test-sqlite3.c | |
parent | 08a2629c897fd6b8aec166a30d03fa6cf1b6b954 (diff) | |
download | mandoc-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 'test-sqlite3.c')
0 files changed, 0 insertions, 0 deletions