mirror of
https://github.com/mirror/wget.git
synced 2024-12-28 22:00:27 +08:00
fix segfault on wrong urls (bug 36570)
This commit is contained in:
parent
2b1dd8d23b
commit
ee9d4a9057
@ -1,3 +1,7 @@
|
||||
2012-05-31 Ángel González <keisial@gmail.com>
|
||||
|
||||
* convert.c: fix segfault on wrong urls (bug 36570)
|
||||
|
||||
2012-05-13 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
||||
* bootstrap.conf (gnulib_modules): Add `git-version-gen'.
|
||||
|
@ -124,6 +124,9 @@ convert_links_in_hashtable (struct hash_table *downloaded_set,
|
||||
set_uri_encoding (pi, opt.locale, true);
|
||||
|
||||
u = url_parse (cur_url->url->url, NULL, pi, true);
|
||||
if (!u)
|
||||
continue;
|
||||
|
||||
local_name = hash_table_get (dl_url_file_map, u->url);
|
||||
|
||||
/* Decide on the conversion type. */
|
||||
|
Loading…
Reference in New Issue
Block a user