summaryrefslogtreecommitdiff
path: root/ares_parse_a_reply.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-15protocol parsing: check input data stricterPatrick Valsecchi1-0/+6
... so that bad length fields aren't blindly accepted Bug: http://c-ares.haxx.se/mail/c-ares-archive-2013-04/0016.shtml
2012-12-14setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse1-3/+0
Inclusion of these two header files now done in setup_once.h
2012-12-14Header inclusion clean-upYang Tse1-2/+0
Remove header inclusions already done in setup_once.h
2011-08-05ares_parse_a_reply: fix memleakTom Hughes1-0/+2
2011-06-14Do not leak rr_name on failures inside ares_parse_a_replyJakub Hrozek1-0/+3
2010-12-02ares_parse_a_reply: fix CNAME response parsingBen Noordhuis1-1/+3
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
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2009-11-23- Jakub Hrozek renamed addrttl and addr6ttl structs to ares_addrttl andYang Tse1-2/+2
ares_addr6ttl in order to prevent name space pollution, along with necessary changes to code base and man pages.This change does not break ABI, there is no need to recompile existing applications. But existing applications using these structs with the old name will need source code adjustments when recompiled using c-ares 1.6.1.
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse1-1/+1
2009-04-14use HAVE_LIMITS_H symbol to protect limits.h inclusionYang Tse1-1/+4
2009-01-11- Phil Blundell added the internal function ares__expand_name_for_response()Daniel Stenberg1-5/+7
that is now used by the ares_parse_*_reply() functions instead of the ares_expand_name() simply to easier return ARES_EBADRESP for the cases where the name expansion fails as in responses that really isn't expected.
2008-09-17adjust inclusion of "nameser.h"Yang Tse1-11/+10
2008-09-15include header file only when availableYang Tse1-1/+11
2008-05-08check for strings.h in configure and use it for the strcasecmp() protoDaniel Stenberg1-0/+3
2007-11-15Needed now that in6_addr is referenced in ares.hYang Tse1-0/+1
2007-11-15Return TTL data from ares_parse_{a,aaaa}_reply, if the user is so inclined. ↵Steinar H. Gunderson1-36/+98
Patch from the Google tree.
2007-02-26Removed inclusion of <sys/types.h> in .c-filesGisle Vanem1-1/+0
since it's already included through "setup.h".
2006-07-222nd try adding CVS id.Gisle Vanem1-1/+1
2006-07-22Added CVS id.Gisle Vanem1-0/+2
2005-04-06Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OSDaniel Stenberg1-0/+3
X.
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg1-46/+46
2004-08-20More patches for Watt-32 on Win32; don't include "nameser.h".Gisle Vanem1-1/+1
2004-07-22- Fixed a few variable return types for some system calls. Made configureDaniel Stenberg1-0/+1
check for ssize_t to make it possible to use that when receiving the send() error code. This is necessary to prevent compiler warnings on some systems. - Made configure create config.h, and all source files now include setup.h that might include the proper config.h (or a handicrafted alternative). - Switched to 'ares_socket_t' type for sockets in ares, since Windows don't use 'int' for that. - automake-ified and libool-ified c-ares. Now it builds libcares as a shared lib on most platforms if wanted. (This bloated the size of the release archive with another 200K!) - Makefile.am now uses Makefile.inc for the c sources, h headers and man pages, to make it easier for other makefiles to use the exact same set of files. - Adjusted 'maketgz' to use the new automake magic when building distribution archives.
2004-02-23make ares_expand_name() take a long * instead of an int *, since we doDaniel Stenberg1-1/+2
pointer arithmetic (ptr1 - ptr2) and to do that properly on 64bit we need long
2004-02-04typecast comparision between signed and unsignedDaniel Stenberg1-1/+1
2004-02-02remove rcsid stuff from c files, it serves no useful purposeDaniel Stenberg1-2/+0
2003-10-07ares 1.1.1 with collected applied patchesDaniel Stenberg1-0/+173