mirror of
https://github.com/curl/curl.git
synced 2026-07-23 17:37:17 +03:00
noproxy: replace atoi with curlx_str_number
To better reject junk and detect overflows. There were already additional precautions and protections in place, but this is cleaner. Extended the 1614 unit tests with some more bad syntax cases. Closes #19475
This commit is contained in:
parent
207721165e
commit
97b0abb46b
3 changed files with 19 additions and 3 deletions
|
|
@ -2,6 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
unittest
|
||||
noproxy
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue