]> granicus.if.org Git - curl/commit
cookies: strip the numerical ipv6 host properly
authorAndrei Cipu <acipu@ixiacom.com>
Thu, 22 Mar 2012 07:52:45 +0000 (08:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 22 Mar 2012 07:56:33 +0000 (08:56 +0100)
commit97b66ebefe2090aea734af57c5e7e182a97f20bb
tree0c4ee585898a45aa1da238013ed04f61212a8e4c
parentd2e5222ebc1568d54a2d6068250391345b99cc82
cookies: strip the numerical ipv6 host properly

The commit e650dbde86d4 that stripped off [brackets] from ipv6-only host
headers for the sake of cookie parsing wrongly incremented the host
pointer which would cause a bad free() call later on.
lib/http.c