commit | 609d96b3d58475a15b2eb6b3d463f2c5d8e510c0 | [log] [tgz] |
---|---|---|
author | dtucker@openbsd.org <dtucker@openbsd.org> | Tue Dec 05 23:59:47 2017 +0000 |
committer | Darren Tucker <dtucker@zip.com.au> | Thu Dec 07 11:49:00 2017 +1100 |
tree | be75a3c395010d0ccf6e5c07e46e4e826203a221 | |
parent | 168ecec13f9d7cb80c07df3bf7d414f4e4165e84 [diff] |
upstream commit Replace atoi and strtol conversions for integer arguments to config keywords with a checking wrapper around strtonum. This will prevent and flag invalid and negative arguments to these keywords. ok djm@ OpenBSD-Commit-ID: 99ae3981f3d608a219ccb8d2fff635ae52c17998