Subject: Re: ares_save_options() patch

Re: ares_save_options() patch

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 22 Sep 2007 22:46:00 +0200 (CEST)

On Mon, 17 Sep 2007, Brad House wrote:

> Apparently I overlooked something with the ares_save_options() where it
> would try to do a malloc(0) when no options of that type needed to be saved.
> On most platforms, this was fine because malloc(0) doesn't actually return
> NULL, but on AIX it does, so ares_save_options would return ARES_ENOMEM.
> Here's the fix ... sorry about that.

Thanks, committed!

-- 
   c-ares -- my preferred DNS asynch resolver library
Received on 2007-09-22