]> sjero.net Git - wget/commit
Bugfix: Avoid double free of iri->orig_url
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 8 Dec 2012 14:49:05 +0000 (15:49 +0100)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Sun, 9 Dec 2012 12:47:23 +0000 (13:47 +0100)
commita2c0835007b66cfd8789d83d252ed33e45f8de38
tree8b465da0998b5921dfdab0686d90d44fb38e58f2
parent3ebbd84518281f348659bf8cf2d7bdc25ec4e140
Bugfix: Avoid double free of iri->orig_url

When accessing a URL using IDN which directly redirects to another page,
wget would xfree_null(iri->orig_url); in src/retr.c:retrieve_url()
first, then later xfree_null(iri->orig_url); in src/iri.c:iri_free()
again.

This can be tested with wget -O /dev/null http://μφ.net
src/ChangeLog
src/retr.c