mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-23 17:31:43 +01:00
strtol -> strtoll (for off_t file size)
This commit is contained in:
parent
7cbfe4d8da
commit
8cdc766763
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82772
@ -356,7 +356,7 @@ url_get(origline, proxyenv)
|
||||
goto improper;
|
||||
else
|
||||
*ep = '\0';
|
||||
filesize = strtol(cp, &ep, 10);
|
||||
filesize = strtoll(cp, &ep, 10);
|
||||
if (filesize < 1 || *ep != '\0')
|
||||
goto improper;
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user