summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_udf.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-12-16 01:21:37 +0000
committerschwarze <schwarze@openbsd.org>2014-12-16 01:21:37 +0000
commit583f2f708eb980bf56e21300c8b146442523c787 (patch)
treeeb7c4d54f7f92c1b2c5166facd2437ade7ade50f /lib/libkvm/kvm_udf.c
parentuse .In and delete .Tn; from Kaspars at Bankovskis dot net (diff)
downloadwireguard-openbsd-583f2f708eb980bf56e21300c8b146442523c787.tar.xz
wireguard-openbsd-583f2f708eb980bf56e21300c8b146442523c787.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 'lib/libkvm/kvm_udf.c')
0 files changed, 0 insertions, 0 deletions