summaryrefslogtreecommitdiff
path: root/openbsd-compat/strtoul.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2017-03-12 10:48:14 +1100
committerDamien Miller <djm@mindrot.org>2017-03-12 10:48:14 +1100
commitd94c1dfef2ea30ca67b1204ada7c3b537c54f4d0 (patch)
tree0a72ee991e2ac25cb9e176738671ccec3d89fa4c /openbsd-compat/strtoul.c
parent894221a63fa061e52e414ca58d47edc5fe645968 (diff)
sync fmt_scaled.c with OpenBSD
revision 1.13 date: 2017/03/11 23:37:23; author: djm; state: Exp; lines: +14 -1; commitid: jnFKyHkB3CEiEZ2R; fix signed integer overflow in scan_scaled. Found by Nicolas Iooss using AFL against ssh_config. ok deraadt@ millert@ ---------------------------- revision 1.12 date: 2013/11/29 19:00:51; author: deraadt; state: Exp; lines: +6 -5; fairly simple unsigned char casts for ctype ok krw ---------------------------- revision 1.11 date: 2012/11/12 14:07:20; author: halex; state: Exp; lines: +4 -2; make scan_scaled set errno to EINVAL rather than ERANGE if it encounters an invalid multiplier, like the man page says it should "looks sensible" deraadt@, ok ian@ ---------------------------- revision 1.10 date: 2009/06/20 15:00:04; author: martynas; state: Exp; lines: +4 -4; use llabs instead of the home-grown version; and some comment changes ok ian@, millert@ ----------------------------
Diffstat (limited to 'openbsd-compat/strtoul.c')
0 files changed, 0 insertions, 0 deletions