Use getint() instead of intval() for parsing the columns variable,
authorderaadt <deraadt@openbsd.org>
Fri, 17 Apr 2015 17:20:41 +0000 (17:20 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 17 Apr 2015 17:20:41 +0000 (17:20 +0000)
commitcfb9a2fa20dd2c4d1a73d2cc6c24e826dc0c5b79
tree3061530922ff2645ebdf309214b5cdcb01022e92
parent788b78fc9032e594140598b6ce42e2f260db1f83
Use getint() instead of intval() for parsing the columns variable,
allowing the addition of more accurate bounds and garbage checks.
ok millert
bin/ksh/var.c