Avoid potential signed int overflow when parsing the file size.
authormillert <millert@openbsd.org>
Thu, 27 Apr 2017 11:53:12 +0000 (11:53 +0000)
committermillert <millert@openbsd.org>
Thu, 27 Apr 2017 11:53:12 +0000 (11:53 +0000)
commitf3b3b7c7ca9a921db3a5650eed40f2b2e4d731d8
tree517f5c9a2cdba1eaebb6d2a21661bf36a8f7d413
parented64cb004ce227c5928403cdddd5f28a995e3b0a
Avoid potential signed int overflow when parsing the file size.
Use strtoul() instead of parsing manually.  OK djm@
usr.bin/ssh/scp.c