wget2:master commits
-
Fix redirect regression
* src/wget.c (process_response_header): Follow location header. Fixes #689 Reported-by: https://gitlab.com/omos
-
Drop iri->uri_allocated
* include/wget/wget.h (struct wget_iri_st): Remove uri_allocated. * libwget/iri.c (wget_iri_free_content): Do not free iri->uri, (wget_iri_clone): Simplify code and do not heap-allocate iri->uri.
-
Fix buffer overflow in wget_iri_clone() after wget_iri_set_scheme()
* fuzz/libwget_iri_fuzzer.c: Call wget_iri_clone() after wget_iri_set_scheme(). * libwget/iri.c (wget_iri_parse): Increase value of iri->msize, (wget_iri_clone): Use wget_memdup() instead of malloc+memcpy, (wget_iri_set_scheme): Tiny code cleanup. Fixes: https://gitlab.com/gnuwget/wget2/-/issues/687 Reported-by: https://gitlab.com/gleurent