- Jun 28, 2017
-
-
Gregor Jasny authored
-
- Jun 26, 2017
-
-
Gregor Jasny authored
-
Gregor Jasny authored
-
- Sep 29, 2016
-
-
Gregor Jasny authored
-
Gregor Jasny authored
Definition of CARES_SIZEOF_ARES_SOCKLEN_T is gone.
-
Gregor Jasny authored
-
Gregor Jasny authored
Upstream version 1.12.0 # gpg: Signature made Thu 29 Sep 2016 06:10:44 PM CEST # gpg: using RSA key 199A64FADFB500FF # gpg: issuer "gjasny@googlemail.com" # gpg: Good signature from "Gregor Jasny <gjasny@googlemail.com>" [ultimate] # gpg: aka "Gregor Jasny <gjasny@web.de>" [ultimate]
-
Gregor Jasny authored
-
Daniel Stenberg authored
-
David Drysdale authored
-
Daniel Stenberg authored
... when the name ends with an escaped dot. CVE-2016-5180 Bug: https://c-ares.haxx.se/adv_20160929.html
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
David Drysdale authored
-
Daniel Stenberg authored
-
- Sep 27, 2016
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Reported-by: David Hotham Fixes #63
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Tried to make the man page more readable.
-
- Sep 26, 2016
-
-
David Drysdale authored
Taken from: https://github.com/google/googletest/issues/705#issuecomment-235067917
-
Brad House authored
... they're not really used and by avoiding them in the ares_build.h output we make the public header less dependent on data sizes.
-
- Sep 24, 2016
-
-
David Drysdale authored
Fix up a couple of problems with configuring whether c-ares rotates between different name servers between requests. Firstly, ares_save_options() returns (in *optmask) the value of (channel->optmask & ARES_OPT_ROTATE), which doesn't necessarily indicate whether the channel is or is not actually doing rotation. This can be confusing/incorrect if: - the channel was originally configured without ARES_OPT_ROTATE (so it appears that the channel is not rotating) - the /etc/resolv.conf file includes the 'rotate' option (so the channel is actually performing rotation). Secondly, it is not possible to reliably configure a channel to not-rotate; leaving off ARES_OPT_ROTATE is not enough, since a 'rotate' option in /etc/resolv.conf will turn it on again. Therefore: - add an ARES_OPT_NOROTATE optmask value to allow explicit configuration of no-rotate behaviour - in ares_save_options(), report the value of channel->rotate as exactly one of (optmask & ARES_OPT_ROTATE) or (optmask & ARES_OPT_NOROTATE). In terms of back-compatibility: - existing apps that set ARES_OPT_ROTATE will continue to rotate, and to have ARES_OPT_ROTATE reported back from ares_save_options() - existing apps that don't set ARES_OPT_ROTATE will continue to use local config/defaults to decide whether to rotate, and will now get ARES_OPT_ROTATE or ARES_OPT_NOROTATE reported back from ares_save_options() rather than 0.
-
David Drysdale authored
Commit 46bb820b ("ares_init_options: don't lose init failure") changed init behaviour so that earlier errors in initialization weren't lost. In particular, if the user passes in specific options but they are not applied (e.g. because of an allocation failure), that failure needs to be reported back to the user; this also applies when duplicating a channel with ares_dup(). However, other initialization failures can be ignored and overridden -- in particular, if init_by_resolv_conf() or init_by_environment() fail, then falling back to default values is OK. So only preserve failures from the init_by_options() stage, not from all initialization stages. Fixes issue 60.
-
- Sep 23, 2016
-
-
David Drysdale authored
Travis build environment appears to have changed.
-
David Drysdale authored
-
David Drysdale authored
GoogleTest assumes that there is a null pointer in argv[argc], so make it look like that. Without this change, tests run with command-line arguments get memory errors under valgrind/ASAN.
-
- Aug 21, 2016
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Just the MIT license used in the top the source files moved out to a stand-alone file for easier reference and discovery.
-
Daniel Stenberg authored
-
- Aug 19, 2016
-
-
Daniel Stenberg authored
-
- Aug 17, 2016
-
-
David Drysdale authored
Run scan-build over the library source code, but skip the tests. Needs a later Clang install in Travis
-
- Aug 16, 2016
-
-
David Drysdale authored
-
David Drysdale authored
-
David Drysdale authored
When fuzzing with AFL, if the LLVM-based instrumentation is used (via the afl-clang-fast wrapper), then it is possible to have a single execution of the fuzzer program iterate multiple times over the fuzzing entrypoint (similar to libFuzzer's normal mode of execution) with different data. This is much (e.g. 10x) faster. Add code to support this, by checking whether __AFL_LOOP is defined at compile-time. Also, shift the code to effectively be C rather than C++.
-
David Drysdale authored
No need to depend on the rest of the test code (ares-test.h) for the fuzzer entrypoint; this makes the entrypoint slightly simpler to build with LLVM's libFuzzer. Also shift the code to effectively be C rather than C++
-