58 Commits (6db065bc5423c318e14b4c51fcd4b8e9588cbc5d)

Author SHA1 Message Date
David Drysdale d311c47920 Explicitly clear struct servent before use 9 years ago
David Drysdale f1bcfa1122 api: Allow injection of user-specified malloc/free functions 9 years ago
David Drysdale d493e9b17c api: Add option to expose some internal functions 9 years ago
David Drysdale 87ff25049c Mark unhittable lines 9 years ago
David Drysdale de04975c48 ares_striendstr: fix so non-NULL return can happen 9 years ago
Gregor Jasny 9456c39934 Prevent tmpbuf from overrunning 10 years ago
Daniel Stenberg cf7ad9758d ares_inet_pton/ntop: cleanup 12 years ago
Yang Tse 0c677f578e setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h> 12 years ago
Yang Tse a1035276c1 Header inclusion clean-up 12 years ago
Denis Bilenko 1f8f14d21e ares_getnameinfo: fix random results with c-ares 1.7.5 13 years ago
Jakub Hrozek 22c527cc87 Use correct sizeof in ares_getnameinfo() 14 years ago
Yang Tse f413fce823 compiler warning: fix 14 years ago
Yang Tse 461fa89e0a ares_getnameinfo: Partially revert commit 85520d66e0 14 years ago
Yang Tse 85520d66e0 ares_getnameinfo: Validate socket address family and length. 14 years ago
Yang Tse 690f9a726c ares_getnameinfo: fix two compiler warnings 14 years ago
Yang Tse 4ab5eb6631 Revert commit 494274e653 14 years ago
Yang Tse dac69d52c2 Fix compiler warning: array subscript has type 'char' 14 years ago
Yang Tse 494274e653 Fix GCC 4 compiler warning 'dereferencing type-punned pointer might break strict-aliasing rules'. 14 years ago
Andrew C. Morrow d6b8698941 fix memory leak in ares_getnameinfo 15 years ago
Daniel Stenberg 0e8dc6f18e style: make code less than 80 columns wide 15 years ago
Daniel Stenberg 63627fa5ab remove all $Id$ lines 15 years ago
Yang Tse 8fe746fcf2 Added IPv6 name servers support 15 years ago
Yang Tse 52d5de9cc1 Remove unneeded preprocessor directives 15 years ago
Yang Tse a82a8fbf82 Renamed c-ares setup.h to ares_setup.h 15 years ago
Yang Tse 85442b2a4b Attempt to silence bogus compiler warning: "Potential null pointer dereference" 15 years ago
Yang Tse 3a55bbebf1 Use build-time configured ares_socklen_t instead of socklen_t 16 years ago
Dan Fandrich 9c51eb28fc Make use of gethostname() conditional on it being available 16 years ago
Yang Tse 898e10bd60 improve detection of getservbyport_r() 16 years ago
Yang Tse f214b583f5 adjust inclusion of "nameser.h" 16 years ago
Yang Tse f2582d6949 include header file only when available 16 years ago
Yang Tse 2cb5cbba34 move inclusion of ares_private.h last 16 years ago
Steinar H. Gunderson b7dec81498 Another timeout fix in ares_getnameinfo(). 17 years ago
Steinar H. Gunderson d5919bbe17 Send the timeout count in ares_getnameinfo(). 17 years ago
Steinar H. Gunderson 50ba81cd23 Make the query callbacks return the number of timeouts that happened during the execution of a query, and update documentation accordingly. (Patch from the Google tree.) 17 years ago
Gunter Knauf 316c126447 few minor changes to make ares compile for NetWare CLIB architecture. 18 years ago
Gisle Vanem a627160041 Removed inclusion of <sys/types.h> in .c-files 18 years ago
Yang Tse b9c00a23ce compiler warning fix 18 years ago
Yang Tse 12393dcd5c compiler warning fix 18 years ago
Yang Tse 7fe31e4d00 compiler warning fix 18 years ago
Yang Tse 145117174e compiler warning fix 18 years ago
Yang Tse fb38ee15e2 compiler warning fix 18 years ago
Yang Tse 3c90d9d6d3 fix compiler warning "discards qualifiers from pointer target type" in debug builds 18 years ago
Gisle Vanem 4df9c29084 Fixed "'x' might be used uninitialized in this function" warning. 18 years ago
Daniel Stenberg 1bec3073dc Brad Spencer did 19 years ago
Yang Tse ed8eeae98e Undo last changes 19 years ago
Yang Tse b4e6ca49d8 Fix compiler warning and compatibility issue with the type of the parameter used in getnameinfo() to receive the length of the sockaddr struct. 19 years ago
Yang Tse 6681cc24e9 Modified lookup_service() to avoid the risk of a potential buffer overflow 19 years ago
Yang Tse bc727dff6a Fix compiler warning 19 years ago
Daniel Stenberg 1638613891 Change based on Yang Tse's excellent fix to reduce buffer overflow risk and 19 years ago
Daniel Stenberg fab5b5e116 avoid doing #if an a predef symbol that might not be defined 19 years ago