Memory leak when processing cookies with multiple paths #1932
Labels
Comments
bagder
added a commit
that referenced
this issue
Sep 30, 2017
... this will let the second occurance override the first. Reported-by: Max Dymond Fixes #1932
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
curl/libcurl version
devel
The text was updated successfully, but these errors were encountered: