[1/3] testbot/testagentd: Avoid crashing when the server cannot create its master socket.

Francois Gouget fgouget at codeweavers.com
Sun Apr 13 17:19:39 CDT 2014


On Sat, 12 Apr 2014, Francois Gouget wrote:
[...]
>      };
> -    addrlen = addrp->ai_addrlen;
>      ta_freeaddrinfo(addresses);
>      if (addrp == NULL)
>      {
>          error("unable to bind the server socket: %s\n", sockerror());
>          exit(1);
>      }
> +    addrlen = addrp->ai_addrlen;

This patch is wrong and should not be applied (read after free!). I'll 
send a new one tomorrow.

Patch 2 is independent and can be applied.


-- 
Francois Gouget <fgouget at codeweavers.com>



More information about the wine-patches mailing list