danicoin/src/common
Thomas Winget c0de96f8bd
Fixed DNS resolution bug in Windows
Due to a bug in unbound, we were passing a string containing a null
character to ub_ctx_resolvconf and ub_ctx_hosts rather than a NULL
pointer.  On *nix this wasn't causing headache, but on Windows this was
causing unbound to not correctly load DNS settings from the OS.

Note on the bug: in a Windows-specific code branch in the function
ub_ctx_hosts(), if the hosts file specified was a NULL pointer, a call
to getenv() was stored in a local char* and later freed.  This is
incorrect, as we do not own that data, and caused the program to crash.
2015-04-02 09:22:31 -04:00
..
base58.cpp year updated in license 2015-01-02 18:52:46 +02:00
base58.h year updated in license 2015-01-02 18:52:46 +02:00
boost_serialization_helper.h year updated in license 2015-01-02 18:52:46 +02:00
CMakeLists.txt Daemonize changes pulled in -- daemon builds 2015-02-24 00:05:19 -05:00
command_line.cpp year updated in license 2015-01-02 18:52:46 +02:00
command_line.h year updated in license 2015-01-02 18:52:46 +02:00
dns_utils.cpp Fixed DNS resolution bug in Windows 2015-04-02 09:22:31 -04:00
dns_utils.h year updated in license 2015-01-02 18:52:46 +02:00
http_connection.h Daemonize changes pulled in -- daemon builds 2015-02-24 00:05:19 -05:00
int-util.h year updated in license 2015-01-02 18:52:46 +02:00
pod-class.h year updated in license 2015-01-02 18:52:46 +02:00
rpc_client.h Daemonize changes pulled in -- daemon builds 2015-02-24 00:05:19 -05:00
scoped_message_writer.h Daemonize changes pulled in -- daemon builds 2015-02-24 00:05:19 -05:00
unordered_containers_boost_serialization.h year updated in license 2015-01-02 18:52:46 +02:00
util.cpp Hopefully fixes build on Windows 2015-03-20 16:40:54 -04:00
util.h Hopefully fixes build on Windows 2015-03-20 16:40:54 -04:00
varint.h year updated in license 2015-01-02 18:52:46 +02:00