bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: Segmentation fault in pure IPv4 wget #12


From: Tim Rühsen
Subject: Re: Patch: Segmentation fault in pure IPv4 wget #12
Date: Sun, 21 Jun 2020 11:39:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

Thanks, pushed.

Regards, Tim

On 13.06.20 19:59, Swapnil More wrote:
> Hi Team,
> Find the patch inline as well as in attachment for the fix of issue
> mentioned in mail header
> 
> index a2583898..353c1cc5 100644
> --- a/src/host.c
> +++ b/src/host.c
> @@ -857,8 +857,8 @@ lookup_host (const char *host, int flags)
>  #ifdef HAVE_LIBCARES
>    if (ares)
>      {
> -      struct address_list *al4;
> -      struct address_list *al6;
> +      struct address_list *al4 = NULL;
> +      struct address_list *al6 = NULL;
> 
>        if (opt.ipv4_only || !opt.ipv6_only)
>          ares_gethostbyname (ares, host, AF_INET, callback, &al4);
> 
> I'm not sure if it is due configure command I used or what.
> I was trying to port this version on Debian Jessie server where I need
> --bind-dns-address=150.1.1.111 for the testing of my application.
> Check and verify if it's a valid issue and patch
> 
> 
> Thanks,
> Swapnil
> 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]