diff options
author | 2014-12-20 02:26:42 +0000 | |
---|---|---|
committer | 2014-12-20 02:26:42 +0000 | |
commit | 42c9ede6f67e9ee0627823d05205159b281d7546 (patch) | |
tree | a3b98e2909edb1e3b876f4e7cb9cc4e6bc3e352b /sys/kern/subr_disk.c | |
parent | resolve some code duplication; no functional change (diff) | |
download | wireguard-openbsd-42c9ede6f67e9ee0627823d05205159b281d7546.tar.xz wireguard-openbsd-42c9ede6f67e9ee0627823d05205159b281d7546.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 'sys/kern/subr_disk.c')
0 files changed, 0 insertions, 0 deletions