diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-16 01:22:59 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-16 01:22:59 +0000 |
commit | b58b21eb48153dd03bf34c28c5dd4c50bb815825 (patch) | |
tree | 0342ceb2ab4fb1c778325a2c7a89cb2786452679 /man_term.c | |
parent | 30ea145900ca3b0e27b62eb6f5efb69bd217753d (diff) | |
download | mandoc-b58b21eb48153dd03bf34c28c5dd4c50bb815825.tar.gz mandoc-b58b21eb48153dd03bf34c28c5dd4c50bb815825.tar.zst mandoc-b58b21eb48153dd03bf34c28c5dd4c50bb815825.zip |
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 'man_term.c')
0 files changed, 0 insertions, 0 deletions