Commit Graph

23868 Commits

Author SHA1 Message Date
Evan Hunt
dd01fa285b [v9_9] revise style guide information on bracing 2017-10-05 11:28:31 -07:00
Michał Kępień
5b39c51232 [v9_9] Prevent dig INSIST failures and hangs in some failure modes
4756.	[bug]		Interrupting dig could lead to an INSIST failure after
			certain errors were encountered while querying a host
			whose name resolved to more than one address.  Change
			4537 increased the odds of triggering this issue by
			causing dig to hang indefinitely when certain error
			paths were evaluated.  dig now also retries TCP queries
			(once) if the server gracefully closes the connection
			before sending a response. [RT #42832, #45159]

(cherry picked from commit 1ddb1cd440)
2017-10-05 09:49:50 +02:00
Mark Andrews
6085a44615 4754. [bug] dns_zone_setview needs a two stage commit to properly
handle errors. [RT #45841]

(cherry picked from commit 2732d4922c)
2017-10-05 16:55:11 +11:00
Mark Andrews
ab94222d2f cast to unsigned int
(cherry picked from commit 34efd9ad93)
2017-10-05 13:35:45 +11:00
Evan Hunt
65eae37154 [v9_9] fix tag 2017-10-04 18:44:54 -07:00
Tinderbox User
512ef3fc26 update copyright notice / whitespace 2017-10-04 23:48:22 +00:00
Evan Hunt
11e723be2a [v9_9] remove nslint, query-loc and zkt from contrib
4753.	[contrib]	Software obtainable from known upstream locations
			(i.e., zkt, nslint, query-loc) has been removed.
			Links to these and other packages can be found at
			https://www.isc.org/community/tools [RT #46182]
2017-10-04 16:41:47 -07:00
Tinderbox User
f93e7b4783 newcopyrights 2017-10-04 23:30:54 +00:00
Mark Andrews
444447d610 add L for wide
(cherry picked from commit 055d310e54)
2017-10-04 20:45:26 +11:00
Mark Andrews
5248a8cc32 stderr to /dev/null also
(cherry picked from commit 4615bc5408)
2017-10-04 19:27:11 +11:00
Mark Andrews
3afd1e5a58 test for 'printf'
(cherry picked from commit d1e823af15)
2017-10-04 19:20:15 +11:00
Mark Andrews
eeb53d081a silence compiler warning 2017-10-04 18:08:23 +11:00
Mark Andrews
d84dbc76e6 #undef inet_ntop
(cherry picked from commit 396125eefe)
2017-10-04 17:50:32 +11:00
Mark Andrews
35c77c3f28 sort 2017-10-04 17:22:54 +11:00
Mark Andrews
68630cce3a 4752. [test] Add unit test for isc_net_pton. [RT #46171]
(cherry picked from commit 5fcdb09126)
2017-10-04 14:43:51 +11:00
Evan Hunt
630eb6e8c6 [v9_9] missing declaration of INSIST 2017-10-03 20:03:38 -07:00
Evan Hunt
aba55e24d5 [v9_9] remove spurious control character 2017-10-03 19:42:13 -07:00
Tinderbox User
16a6c249b5 update copyright notice / whitespace 2017-10-03 23:48:38 +00:00
Tinderbox User
1ffe5fd595 newcopyrights 2017-10-03 23:30:40 +00:00
Evan Hunt
28158e5698 [v9_9] de-DLV
4749.	[func]		The ISC DLV service has been shut down, and all
			DLV records have been removed from dlv.isc.org.
			- Removed references to ISC DLV in documentation
			- Removed DLV key from bind.keys
			[RT #46155]
2017-10-03 00:57:54 -07:00
Mark Andrews
068bd10a3a 4748. [cleanup] Sprintf to snprintf coversions. [RT #46132]
(cherry picked from commit a009d03a1a)
2017-10-03 15:00:57 +11:00
Tinderbox User
b22d220605 regen v9_9 2017-10-01 01:35:02 +00:00
Tinderbox User
cd56d1eef3 update copyright notice / whitespace 2017-09-30 23:53:55 +00:00
Tinderbox User
244cce2f6e newcopyrights 2017-09-30 23:31:22 +00:00
Evan Hunt
4e07f11772 [v9_9] add configured prefixes to summary
4746.	[cleanup]	Add configured prefixes to configure summary
			output. [RT #46153]

(cherry picked from commit c0f8a8f30a)
(cherry picked from commit 6d86c99e22)
2017-09-30 10:08:05 -07:00
Evan Hunt
788beb3a45 [v9_9] color-coded test output
4745.	[test]		Add color-coded pass/fail messages to system
			tests when running on terminals that support them.
			[RT #45977]

(cherry picked from commit 3bb6150cae)
2017-09-30 10:03:26 -07:00
Tinderbox User
cc7dac87cf update copyright notice / whitespace 2017-09-27 23:49:17 +00:00
Tinderbox User
abb996a1fe newcopyrights 2017-09-27 23:30:28 +00:00
Mark Andrews
2b9e2952ed switch to using snprintf from sprintf
(cherry picked from commit d386eb54c6)
2017-09-28 07:16:33 +10: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
Mukund Sivaraman
d182652781 Use stdatomic.h in acache code (#46085)
Part of change 4728.

(cherry picked from commit d0d2ba9546)
(cherry picked from commit b85bb66388)
2017-09-27 15:01:32 +05:30
Mark Andrews
4828d6c34f tcp test got reversed
(cherry picked from commit b4c31c8795)
2017-09-27 15:20:33 +10:00
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
Mark Andrews
c86cff0104 4738. [port] win32: strftime mishandles %Z. [RT #46039]
(cherry picked from commit 744061a03b)
2017-09-26 23:33:45 +10:00
Mark Andrews
4ada70d71a 4737. [cleanup] Address Coverity warnings. [RT #46012]
(cherry picked from commit 08151d7fce)
2017-09-26 23:25:08 +10:00
Michał Kępień
696c2a7571 [v9_9] Comment NSEC3-related code and fix a few minor issues
4736.	[cleanup]	(a) Added comments to NSEC3-related functions in
			lib/dns/zone.c.  (b) Refactored NSEC3 salt formatting
			code.  (c) Minor tweaks to lock and result handling.
			[RT #46053]

(cherry picked from commit acc3728c47)
2017-09-26 11:29:24 +02:00
Mark Andrews
d4faf256b2 fix HMAC_Update arguement 2017-09-25 10:46:28 +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
Mark Andrews
4468644033 #include <isc/string.h> as it includes both <string.h> and <strings.h> if they both exist
(cherry picked from commit 6138c5a5e4)
2017-09-22 18:10:04 +10:00
Tinderbox User
e958fc1c3d newcopyrights 2017-09-21 23:31:53 +00:00
Mark Andrews
f2fe80afca we don't build irs in 9.9 2017-09-21 19:38:56 +10:00
Tinderbox User
a7741835cc regen v9_9 2017-09-21 07:51:57 +00:00
Mark Andrews
07c3a58bd4 #include <stdint.h> 2017-09-21 14:21:04 +10:00
Tinderbox User
01bad075b6 regen v9_9 2017-09-21 04:07:03 +00:00
Mark Andrews
d6c258064b atomic_compare_exchange_strong_explicit's second argument should not be atomic_* 2017-09-21 13:42:05 +10:00
Mark Andrews
799bb89429 explicitly list test programs 2017-09-21 13:07:12 +10:00
Tinderbox User
288dd11e7a update copyright notice / whitespace 2017-09-19 23:51:07 +00:00
Tinderbox User
4d067e1501 newcopyrights 2017-09-19 23:31:04 +00:00
Evan Hunt
67a70cde7e [v9_9] correct the license info 2017-09-19 13:00:31 -07:00
Mukund Sivaraman
a9600f7404 Fix changeset numbers
(cherry picked from commit 36c67a310a)
2017-09-19 19:53:29 +05:30