aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_gethostname.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-09-08 13:42:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-09-08 15:17:00 +0200
commit87e533ace035849c612968fbad0a55dc93a93185 (patch)
treed48637cde9df0d4e1da45a0a6bf6579089ab601b /lib/curl_gethostname.c
parent27620171ffe1a47735de706aa0b0a66d45f867ed (diff)
parse_proxy: reject illegal port numbers
If the port number in the proxy string ended weirdly or the number is too large, skip it. Mostly as a means to bail out early if a "bare" IPv6 numerical address is used without enclosing brackets. Also mention the bracket requirement for IPv6 numerical addresses to the man page for CURLOPT_PROXY. Closes #415 Reported-by: Marcel Raad
Diffstat (limited to 'lib/curl_gethostname.c')
0 files changed, 0 insertions, 0 deletions