diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2016-11-24 22:25:14 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2016-11-24 22:25:46 -0500 |
commit | a6618b52508049771c1eb988bebe2f2bcfd9ea33 (patch) | |
tree | 55dcc17f463875404ccbd116460121d0329f005b /include | |
parent | 4bda3e04b28698cf402d8b1223b6c036c0eb1184 (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 'include')
0 files changed, 0 insertions, 0 deletions