Patrick Valsecchi
148c8e0353
protocol parsing: check input data stricter
...
... so that bad length fields aren't blindly accepted
Bug: http://c-ares.haxx.se/mail/c-ares-archive-2013-04/0016.shtml
12 years ago
Yang Tse
0c677f578e
setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>
...
Inclusion of these two header files now done in setup_once.h
12 years ago
Yang Tse
a1035276c1
Header inclusion clean-up
...
Remove header inclusions already done in setup_once.h
12 years ago
Jakub Hrozek
978a929b40
Do not leak rr_name on failures inside ares_parse_ns_reply
14 years ago
Daniel Stenberg
a268ae6a78
ares_parse_ns_reply.c: remove CVSism
14 years ago
Yang Tse
a82a8fbf82
Renamed c-ares setup.h to ares_setup.h
15 years ago
Yang Tse
80d7a970f1
Add CVS Id tag.
...
Fix identation of some license lines.
15 years ago
Daniel Stenberg
8362245c42
- Phil Blundell added the internal function ares__expand_name_for_response()
...
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.
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
Gisle Vanem
a627160041
Removed inclusion of <sys/types.h> in .c-files
...
since it's already included through "setup.h".
18 years ago
Daniel Stenberg
c1bc4c19be
Vlad Dinulescu added ares_parse_ns_reply()
18 years ago