Skip to content
Commit 82dfdac5 authored by Patrick Monnerat's avatar Patrick Monnerat
Browse files

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 c990eadd.

Ref: https://github.com/curl/curl/pull/2440
parent 256b80fe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment