summaryrefslogtreecommitdiff
path: root/lib/security.c
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2018-04-04 15:28:28 +0200
committerPatrick Monnerat <patrick@monnerat.net>2018-04-04 15:28:28 +0200
commit82dfdac5f797d2e906b94aef3f82b6a80353a575 (patch)
treed54fe59494f19ed8de89b593d72b1829daee38f0 /lib/security.c
parent256b80fe81ad6de63e7fcffbef5e2ce554319ae8 (diff)
downloadcurl-82dfdac5f797d2e906b94aef3f82b6a80353a575.tar.gz
cookie: fix and optimize 2nd top level domain name extraction
This fixes a segfault occurring when a name of the (invalid) form "domain..tld" is processed. test46 updated to cover this case. Follow-up to commit c990ead. Ref: https://github.com/curl/curl/pull/2440
Diffstat (limited to 'lib/security.c')
0 files changed, 0 insertions, 0 deletions