Commit Graph
1010 Commits
Author SHA1 Message Date
Mark Andrews 8572cac546 silence compiler warning [RT #46471] 2017-11-23 17:04:01 +11:00
Mark Andrews 3b9332a20d 4804. [port] win32: access() does not work on directories as
required by POSIX.  Supply a alternative in
                        isc_file_isdirwritable. [RT #46394]
2017-11-01 09:47:52 +11:00
Tinderbox User 2f5154f3b1 update copyright notice / whitespace 2017-10-19 23:49:30 +00:00
Mark Andrews 54eb949c35 s/REQUIRE/ISC_REQUIRE/; include <isc/assertions.h> if ISC_REQUIRE is used; include <isc/likely.h> if ISC_{UN}LIKELY is used
(cherry picked from commit 0fab171196)
2017-10-19 17:00:13 +11:00
Mark Andrews 40e08f66a8 4774. [bug] <isc/util.h> was incorrectly included in several
header files. [RT #46311]
2017-10-19 12:54:44 +11:00
Tinderbox User b17ca7e7f1 update copyright notice / whitespace 2017-10-17 23:53:44 +00:00
Michał Kępień eb2c3bdfae [v9_9] Doxygen fixes and cleanups
4773.	[doc]		Fixed generating Doxygen documentation for functions
			annotated using certain macros.  Miscellaneous
			Doxygen-related cleanups. [RT #46276]

(cherry picked from commit 5e6d28e1b7)
2017-10-17 08:13:40 +02:00
Tinderbox User ab0f4f3a40 update copyright notice / whitespace 2017-10-06 23:48:57 +00:00
Evan Hunt 5cdb31e8df [v9_9] further restrict update-policy local
4762.	[func]		"update-policy local" is now restricted to updates
                from local addresses. (Previously, other addresses
                were allowed so long as updates were signed by the
                local session key.) [RT #45492]
2017-10-06 15:42:54 -07:00
Tinderbox User cc7dac87cf update copyright notice / whitespace 2017-09-27 23:49:17 +00:00
Mukund Sivaraman 5b1cc88385 Make isc_refcount_current() atomically read the counter value (#46074)
(cherry picked from commit abb8813a33)
(cherry picked from commit a8fa3e2d44)
(cherry picked from commit 6da7b3227c)
2017-09-27 15:11:39 +05:30
Mark Andrews 80dd4971d9 4739. [cleanup] Address clang static analysis warnings. [RT #45952]
(cherry picked from commit f9f3f20d2d)
2017-09-27 13:19:37 +10:00
Mukund Sivaraman 1c8b9ab360 Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere)
(cherry picked from commit fb9712f639)
(cherry picked from commit dc0d95a23d)
(cherry picked from commit 7cf6516670)
2017-09-22 15:16:22 +05:30
Tinderbox User 288dd11e7a update copyright notice / whitespace 2017-09-19 23:51:07 +00:00
Mukund Sivaraman d347cf40c8 Don't use memset() to wipe memory (#45947)
(cherry picked from commit d5707676e4)
(cherry picked from commit b5252fcde5)
(cherry picked from commit aaf04460a0)

# Conflicts:
#	lib/dns/pkcs11dh_link.c
#	lib/dns/pkcs11dsa_link.c
#	lib/dns/pkcs11gost_link.c
#	lib/dns/pkcs11rsa_link.c
#	lib/isc/hmacmd5.c
#	lib/isc/hmacsha.c
#	lib/isc/md5.c
#	lib/isc/sha1.c
#	lib/isc/sha2.c
2017-09-19 18:59:48 +05:30
Mukund Sivaraman 33d39430d0 Use C11's stdatomic.h instead of isc_atomic where available
(cherry picked from commit 404c9b1c53)
(cherry picked from commit 9905606390)
(cherry picked from commit 5bae58a2e7)
2017-09-19 15:57:44 +05:30
Tinderbox User 077f3c4e27 update copyright notice / whitespace 2017-09-14 00:03:54 +00:00
Evan Hunt f07825440f [master] cleanup strcat/strcpy
4722.	[cleanup]	Clean up uses of strcpy() and strcat() in favor of
			strlcpy() and strlcat() for safety. [RT #45981]

(cherry picked from commit 114f95089c)
(cherry picked from commit 7cd594b842)
(cherry picked from commit e0ddfb109e)
2017-09-13 00:20:09 -07:00
Tinderbox User 907bd36c10 update copyright notice / whitespace 2017-09-12 23:50:35 +00:00
Mark Andrews 171f1f06ab 4714. [port] openbsd/libressl: add support for building with
--enable-openssl-hash. [RT #45982]

(cherry picked from commit c75e9c7630)
2017-09-12 14:24:14 +10:00
Tinderbox User 0b3fb0379d update copyright notice / whitespace 2017-07-11 01:47:26 +00:00
Mark Andrews 7015ac4491 4435. [tuning] Only set IPV6_USE_MIN_MTU for UDP when the message
will not fit into a single IPv4 encapsulated IPv6
                        UDP packet when transmitted over a Ethernet link.
                        [RT #42871]

(cherry picked from commit 31ffec1541)
2017-07-11 11:42:43 +10:00
Tinderbox User 07967caf75 update copyright notice / whitespace 2017-03-24 23:47:23 +00:00
Mark Andrews 8c2d209f09 4582. [security] 'rndc ""' could trigger a assertion failure in named.
(CVE-2017-3138) [RT #44924]

(cherry picked from commit 8e8dfc5941)
2017-03-25 02:08:26 +11:00
Mark Andrews 182d657891 remove outdated cvs $Id strings 2017-02-03 18:44:36 +11:00
Evan Hunt ad1ebb5b28 [v9_9] address portability issues
(cherry picked from commit a2bd99a959)
2017-01-30 16:52:42 -08:00
Tinderbox User 0ed649b6e5 update copyright notice / whitespace 2017-01-12 23:48:25 +00:00
Mark Andrews ff963a5d93 4552. [bug] Named could trigger a assertion when sending notify
messages. [RT #44019]

(cherry picked from commit 7b9e28f1a5)
2017-01-12 14:14:05 +11:00
Tinderbox User ff69a0423e update copyright notice / whitespace 2016-11-08 23:57:34 +00:00
Mark Andrews 964e19cea8 4497. [port] Add support for OpenSSL 1.1.0. [RT #41284] 2016-11-09 09:59:32 +11:00
Evan Hunt 60814deed8 [v9_9] make uninstall
4503.	[cleanup]	"make uninstall" now removes file installed by
			BIND. (This currently excludes Python files
			due to lack of support in setup.py.) [RT #42912]

(cherry picked from commit 6087f87afb)
(cherry picked from commit 398f8c32f3)
2016-11-01 20:22:35 -07:00
Mark Andrews fa2ed4b627 update copyrights 2016-10-28 11:30:47 +11:00
Mark Andrews 9de8fa2535 4492. [bug] irs_resconf_load failed to initialise sortlistnxt
causing bad writes if resolv.conf contained a
                        sortlist directive. [RT #43459]

(cherry picked from commit 55b78fff62)
2016-10-27 13:20:39 +11:00
Tinderbox User 481a84d8ab update copyright notice / whitespace 2016-10-04 23:48:50 +00:00
Witold KrecickiandMark Andrews 61a9e9108b [master] Fix a minor bug in isc_netaddr_masktoprefixlen
(cherry picked from commit f78603b534)
2016-10-05 09:07:30 +11:00
Tinderbox User 7e8f6348fc update copyright notice / whitespace 2016-09-07 23:46:39 +00:00
Mark Andrews 867ddf62f4 4461. [bug] win32: not all external data was properly marked
as external data for windows dll. [RT #43161]
2016-09-07 14:53:02 +10:00
Tinderbox User 9da1040540 update copyright notice / whitespace 2016-08-18 23:46:51 +00:00
Mark Andrews 12f7b04f08 install isc/errno.h
(cherry picked from commit dec17fb662)
2016-08-18 22:16:20 +10:00
Tinderbox User 65588217fc update copyright notice / whitespace 2016-08-17 23:46:55 +00:00
Evan Hunt 65e144e0de [v9_9] isc_errno_toresult()
4445.	[cleanup]	isc_errno_toresult() can now be used to call the
			formerly private function isc__errno2result().
			[RT #43050]

(cherry picked from commit ddef16e1d9)
2016-08-17 11:37:51 -07:00
Tinderbox User c88775524d update copyright notice / whitespace 2016-05-05 23:47:00 +00:00
Evan Hunt a1f4c3c55c [v9_9] nanosecond-accurate file modification times
4361.	[cleanup]	Where supported, file modification times returned
			by isc_file_getmodtime() are now accurate to the
			nanosecond. [RT #41968]
2016-05-05 12:22:55 -07:00
Tinderbox User 42b854e5dd update copyright notice / whitespace 2016-03-23 23:46:03 +00:00
Evan Hunt 955c101ff5 [v9_9] disallow out-of-range descriptors in isc_socket_fdwatchcreate() 2016-03-22 18:12:07 -07:00
Tinderbox User dc16fb4615 update copyright notice / whitespace 2016-03-04 23:46:07 +00:00
Mukund Sivaraman 65f562e5e4 Code cleanups (#41656)
(cherry picked from commit 9da98335c1)
(cherry picked from commit b15dde2889)
2016-03-04 13:00:43 +05:30
Tinderbox User 757b2400b8 update copyright notice / whitespace 2016-02-01 23:46:15 +00:00
Mukund Sivaraman 48915fab93 Use __built_expect() where available (#41411)
(cherry picked from commit d1dbf6b20f)
(cherry picked from commit 6e2e0f72b1)
2016-02-01 09:13:28 +05:30
Tinderbox User d9acbe311a update copyright notice / whitespace 2015-12-11 23:47:08 +00:00