diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-09-22 20:45:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-09-22 20:45:50 +0000 |
commit | 05b26e7566b9788fcdecda3c49e0b0ca1f7d25ec (patch) | |
tree | b6b20c3520b7d66ba948fbeff243dcd16ad1e4b1 /ares/CHANGES | |
parent | 6c511abf43acd1e535e9701998ff752b248b2f9c (diff) | |
download | curl-05b26e7566b9788fcdecda3c49e0b0ca1f7d25ec.tar.gz |
Brad House provided a fix for ares_save_options(): 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.
Diffstat (limited to 'ares/CHANGES')
-rw-r--r-- | ares/CHANGES | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ares/CHANGES b/ares/CHANGES index 86d46ed44..160489c64 100644 --- a/ares/CHANGES +++ b/ares/CHANGES @@ -1,9 +1,17 @@ Changelog for the c-ares project +* September 22 2007 (Daniel Stenberg) + +- Brad House provided a fix for ares_save_options(): + + 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. + * July 14 2007 (Daniel Stenberg) - Vlad Dinulescu fixed two outstanding valgrind reports: - 1. In ares_query.c , in find_query_by_id we compare q->qid (which is a short int variable) with qid, which is declared as an int variable. Moreover, |