Subject: Re: [Patch] Buffer overrun in get_iphlpapi_dns_info() (ares_init.c) on Windows

Re: [Patch] Buffer overrun in get_iphlpapi_dns_info() (ares_init.c) on Windows

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 25 Feb 2012 22:37:51 +0100 (CET)

On Sat, 4 Feb 2012, Poul Thomas Lomholt wrote:

> Hi, I experienced a buffer overrun exception in c-ares on Windows and
> tracked it down to be an error in the calculation of the 'left' variable in
> get_iphlpapi_dns_info(). The following patch fixed the problem for me, feel
> free to incorporate it as you see fit

Thanks, applied and pushed. Sorry for the long delay!

-- 
  / daniel.haxx.se
Received on 2012-02-25