rewrite convtime() to use a isdigit-scanner and strtonum() instead of
authorderaadt <deraadt@openbsd.org>
Tue, 2 Apr 2024 09:52:14 +0000 (09:52 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 2 Apr 2024 09:52:14 +0000 (09:52 +0000)
commite58cdefd355c283e09f8335f3cbe3a8c94f8868e
tree9239dc2891b70b918dbaa41a09cacb35ca5667da
parent8bbafc65b1ba9302b501cb9d45cb9cd3a9d53654
rewrite convtime() to use a isdigit-scanner and strtonum() instead of
strange strtoul can might be fooled by garage characters.
passes regress/usr.bin/ssh/unittests/misc
ok djm
usr.bin/ssh/misc.c