summaryrefslogtreecommitdiffstats
path: root/preconv.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-16 01:22:59 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-16 01:22:59 +0000
commit31a1b153596f42c4e583bc573ad2fd7b41651728 (patch)
tree14628bdcaab244c9aadbedfec3fbfdcd01156a5d /preconv.c
parent52a3a69b975dd05a56837b3fc9f93cc8681d3282 (diff)
downloadmandoc-31a1b153596f42c4e583bc573ad2fd7b41651728.tar.gz
When a numerical condition errors out after consuming at least one
character of input, treat it as false, do not retry it as a string comparison condition. This also fixes a read buffer overrun that happened when the numerical condition advanced to the end of the input line before erroring out, found by jsg@ with afl.
Diffstat (limited to 'preconv.c')
0 files changed, 0 insertions, 0 deletions