Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Dec 27, 2010
  1. @bagder
  2. @bagder

    init_by_resolv_conf: fix compiler warnings

    bagder authored
    The code received the return codes in the 'status' variable without
    using it. Instead we just ignore those particular errors.
  3. @bagder
  4. @bagder

    advance_tcp_send_queue: avoid NULL ptr dereference

    bagder authored
    If given a too large 'num_bytes' value, it would cause a NULL ptr
    dereference. Instead the code will now break out of the loop at the end
    of the list.
Commits on Dec 19, 2010
  1. @ppentchev @bagder

    configure: fix a bashism

    ppentchev authored bagder committed
Commits on Dec 18, 2010
  1. @bagder

    cleanup: avoid unsafe typecasts

    bagder authored
    Avoid the risk of reading 16bit data from an unaligned address by using
    a macro that is adapted for this.
  2. @stbuehler @bagder

    ares_expand_name: Fix encoded length for indirect root

    stbuehler authored bagder committed
  3. @yangtse
Commits on Dec 17, 2010
  1. @yangtse
  2. @yangtse
Commits on Dec 16, 2010
  1. @yangtse
  2. @yangtse

    configure: temporarily disable detection of system's inet_ntop()

    yangtse authored
    This is done to allow compilation of ares_inet_ntop() by some daily
    builds picky compilers that otherwise do not need this function.
  3. @yangtse

    changes: mention last fix

    yangtse authored
  4. @yangtse

    ares_inet_ntop: remove definition and usage of macro SPRINTF

    yangtse authored
    Existing definition of SPRINTF always resulted in sprintf() being used,
    and sprintf() returning 'int' is already used throughout the library.
  5. @yangtse

    ares_inet_ntop: reapply changes from previous c-ares version (III)

    yangtse authored
    - Replace 'u_char' with 'unsigned char'.
    - Replace 'u_int' with 'unsigned int'.
    - use macros ERRNO and SET_ERRNO() for errno handling.
  6. @yangtse

    ares_inet_ntop: reapply changes from previous c-ares version (II)

    yangtse authored
    - Remove rcsid.
    - Adjust header file inclusions.
    - ares_inet_ntop used only on systems without a proper inet_ntop function.
  7. @yangtse

    ares_inet_ntop: reapply changes from previous c-ares version (I)

    yangtse authored
    - Replace tabs with spaces.
    - Use ANSI C style for function declarations and definitions.
    - Use sizeof with parentheses.
  8. @yangtse

    ares_inet_ntop: fix off by one error triggering out of bounds write

    yangtse authored
    ares_inet_ntop would trigger an out of bounds write when the representation
    of the address required 15 characters, due to not taking in account null
    termination character.
    
    Full import of inet_ntop.c from bind-9.5.3rc1 to pull additional fixes.
  9. @yangtse
  10. @yangtse
Commits on Dec 15, 2010
  1. @yangtse

    ares_inet_net_pton: fix non-rejection of some malformed literals

    yangtse authored
    ares_inet_net_pton would return wrong values when excessively large,
    and invalid, netmasks are used. Fixes are from bind-9.5.3rc1,
    issue also described in the WLB-2008080064 advisory.
  2. @yangtse
  3. @yangtse

    configure: inet_net_pton function check adjustments

    yangtse authored
    Define HAVE_INET_NET_PTON only when system's inet_net_pton function is IPv6
    capable and is not affected by the WLB-2008080064 advisory.
    
    HAVE_INET_NET_PTON_IPV6 is no longer defined nor used.
Commits on Dec 10, 2010
  1. @yangtse

    ares_init: fix detection of semicolon comments in resolv.conf

    yangtse authored
    File resolv.conf may either use a hash '#' or a semicolon ';' character as an
    indication that the rest of the line is a comment.  This fixes not recognizing
    the semicolon as a valid comment indicator in resolv.conf.
  2. @yangtse
Commits on Dec 8, 2010
  1. @bagder
  2. @bagder
Commits on Dec 3, 2010
  1. @yangtse
  2. @yangtse
Commits on Dec 2, 2010
  1. @yangtse
  2. @yangtse
  3. @yangtse
  4. @yangtse
  5. @bnoordhuis @bagder

    ares_parse_a_reply: fix CNAME response parsing

    bnoordhuis authored bagder committed
    Reply to a CNAME query doesn't contain addresses, causing
    ares_parse_a_reply() to bail out with ARES_ENODATA
    
    Bug: http://groups.google.com/group/nodejs/browse_thread/thread/a1268c9ea5e9ad9b
Commits on Dec 1, 2010
  1. @yangtse
Something went wrong with that request. Please try again.