Subject: Re: [Patch] Invalid memory access in ares_search.c (for empty string input)

Re: [Patch] Invalid memory access in ares_search.c (for empty string input)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 13 Nov 2013 02:42:03 +0100 (CET)

On Tue, 12 Nov 2013, David Drysdale wrote:

> We noticed a small buglet in ares_search() when it gets an empty string as
> input -- the single_domain() utility function in ares_search.c accesses
> invalid memory (before the start of the string). I've attached a patch
> below.

Thanks, pushed!

-- 
  / daniel.haxx.se
Received on 2013-11-13