Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
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.