diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-08-20 17:58:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-08-20 17:58:10 +0000 |
commit | 46556398e35e7146378f6e8f4618dd22d5c78a0c (patch) | |
tree | 2e8c8dd38e437f0703220f4be31082dee9c96bdb /bin/md5 | |
parent | f0f97a31ae95d06394e9e80ed9db06cb7e75975b (diff) |
When a mismatching end macro occurs while at least two nested blocks
are open, all except the innermost open block got a bogus MDOC_ENDED
marker, in some situations triggering segfaults down the road
which tb@ found with afl(1).
Fix the logic error by figuring out up front whether an end macro
has a matching body, and if it hasn't, don't mark any blocks as broken.
Diffstat (limited to 'bin/md5')
0 files changed, 0 insertions, 0 deletions