]> granicus.if.org Git - curl/commit
setopt: check CURLOPT_ADDRESS_SCOPE option range
authorDaniel Stenberg <daniel@haxx.se>
Thu, 8 Jun 2017 23:00:23 +0000 (01:00 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 8 Jun 2017 23:01:55 +0000 (01:01 +0200)
commit844896d06416c9fdcacad5159f2a1a1d0293b9e5
tree49d8264faa136cbaf15100009b09fcccc39241f8
parent01596dbadf5515da6282b210dcaf2dba724c7e81
setopt: check CURLOPT_ADDRESS_SCOPE option range

... and return error instead of triggering an assert() when being way
out of range.
lib/url.c