Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 26, 2009
  1. @yangtse

    - Larry Lansing fixed ares_parse_srv_reply to properly parse replies

    yangtse authored
      which might contain non-SRV answers, skipping over potential non-SRV
      ones such as CNAMEs.
Commits on Nov 20, 2009
  1. @yangtse

    Fix comment

    yangtse authored
  2. @yangtse

    Jakub Hrozek modified ares_parse_srv_reply() and ares_parse_txt_reply…

    yangtse authored
    …() API
    to return a linked lists of results. These were also modified to internally
    use the ares_data memory struct and as such its result must be free'ed with
Commits on Nov 2, 2009
  1. @yangtse
Commits on Oct 30, 2009
  1. @yangtse

    Header inclusion depending on HAVE_* symbol.

    yangtse authored
    Fix two typos.
  2. @yangtse

    Comparison of the Initial revision of this file with ares_parse_a_rep…

    yangtse authored
    shows that this one is actually a modified copy of ares_parse_a_reply.c.
    In order to comply with ares_parse_a_reply.c's M.I.T. license, the old
    1998 M.I.T. copyright notice is now also preserved in this file the same
    as it is done in other ares_parse_*.c files.
  3. @yangtse

    Fix comment

    yangtse authored
  4. @yangtse

    In no particular order, changed/fixed all of the following in

    yangtse authored
    ares_parse_txt_reply() current version:
    - Fixed a couple of potential double free's.
    - Fixed memory leaks upon out of memory condition.
    - Fixed pointer arithmetic.
    - Setting ntxtreply to zero upon entry for all failure cases.
    - Changed data type to size_t for variables substr_len, str_len and
      the length member of ares_txt_reply struct.
    - Avoided a couple of memcpy() calls.
    - Changed i data type to unsigned int to prevent compiler warnings.
    - Adjusted a comment.
    - Use ARES_SUCCESS literal for successfull completion.
    - Added CVS Id tag.
Something went wrong with that request. Please try again.