aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_sasl_sspi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-04-16 23:52:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-04-21 23:20:36 +0200
commit0583e87ada7a3cfb10904ae4ab61b339582c5bd3 (patch)
tree0d31a571bf1a38b859e6effa93ac7117d1264286 /lib/curl_sasl_sspi.c
parentb5f947b8ac0e282c61c75b69cd5b9d37dafc6959 (diff)
fix_hostname: zero length host name caused -1 index offset
If a URL is given with a zero-length host name, like in "http://:80" or just ":80", `fix_hostname()` will index the host name pointer with a -1 offset (as it blindly assumes a non-zero length) and both read and assign that address. CVE-2015-3144 Bug: http://curl.haxx.se/docs/adv_20150422D.html Reported-by: Hanno Böck
Diffstat (limited to 'lib/curl_sasl_sspi.c')
0 files changed, 0 insertions, 0 deletions