diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-20 02:26:57 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-20 02:26:57 +0000 |
commit | c3d62d28a2dc71f5ab706428016e254508dd7d10 (patch) | |
tree | 8aedf5481adb64488e20b4317e5c9587380da9e4 /LICENSE | |
parent | d5da66336e312513b51e1424af9b9d2de63bc594 (diff) | |
download | mandoc-c3d62d28a2dc71f5ab706428016e254508dd7d10.tar.gz |
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 'LICENSE')
0 files changed, 0 insertions, 0 deletions