Memory leak when processing cookies with multiple paths #1932
I did this
Added a test case to curl_fuzzer with a line:
I expected the following
Not to leak memory.
Running through asan_sanitizer it looks like the offending code is in cookie.c:502:
where this variable is overwritten without checking whether co->spath has already been allocated before.
The text was updated successfully, but these errors were encountered:
... this will let the second occurance override the first. Reported-by: Max Dymond Fixes #1932