]> granicus.if.org Git - curl/commit
cookie: fix memory leak if path was set twice in header
authorDaniel Stenberg <daniel@haxx.se>
Sat, 30 Sep 2017 12:10:12 +0000 (14:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 30 Sep 2017 21:40:50 +0000 (23:40 +0200)
commit8392a0cf612eaf045addc0b5d8da6d287be33907
treeddc0e573867ddff1937d7be68b3e8b68cfc3346f
parentcecffff561b4cb5707510cfbc0bc41fe0e5b346a
cookie: fix memory leak if path was set twice in header

... this will let the second occurance override the first.

Added test 1161 to verify.

Reported-by: Max Dymond
Fixes #1932
Closes #1933
lib/cookie.c
tests/data/Makefile.inc
tests/data/test1161 [new file with mode: 0644]