diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2018-04-04 15:28:28 +0200 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2018-04-04 15:28:28 +0200 |
commit | 82dfdac5f797d2e906b94aef3f82b6a80353a575 (patch) | |
tree | d54fe59494f19ed8de89b593d72b1829daee38f0 /lib/security.c | |
parent | 256b80fe81ad6de63e7fcffbef5e2ce554319ae8 (diff) | |
download | curl-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