aboutsummaryrefslogtreecommitdiff
path: root/lib/hostcheck.c
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-11-24 22:25:14 -0500
committerJay Satiro <raysatiro@yahoo.com>2016-11-24 22:25:46 -0500
commita6618b52508049771c1eb988bebe2f2bcfd9ea33 (patch)
tree55dcc17f463875404ccbd116460121d0329f005b /lib/hostcheck.c
parent4bda3e04b28698cf402d8b1223b6c036c0eb1184 (diff)
tool_urlglob: Improve sanity check in glob_range
Prior to this change we depended on errno if strtol could not perform a conversion. POSIX says EINVAL *may* be set. Some implementations like Microsoft's will not set it if there's no conversion. Ref: https://github.com/curl/curl/commit/ee4f7660#commitcomment-19658189
Diffstat (limited to 'lib/hostcheck.c')
0 files changed, 0 insertions, 0 deletions