Commit Graph

10286 Commits

Author SHA1 Message Date
Tinderbox User
7994863f90 update copyright notice / whitespace 2017-10-04 23:47:03 +00:00
Mark Andrews
3300d816b7 silence compiler warning 2017-10-04 18:08:19 +11:00
Mark Andrews
f36ee87f84 #undef inet_ntop
(cherry picked from commit 396125eefe)
2017-10-04 17:50:27 +11:00
Mark Andrews
118653b38d add isctest.@O@ dependancy 2017-10-04 17:19:43 +11:00
Mark Andrews
ab491ab5a6 sort 2017-10-04 17:15:47 +11:00
Mark Andrews
28b311d1ad tabify 2017-10-04 14:34:19 +11:00
Mark Andrews
d1e38b4734 4752. [test] Add unit test for isc_net_pton. [RT #46171]
(cherry picked from commit 5fcdb09126)
2017-10-04 14:22:12 +11:00
Evan Hunt
b434598b0a [v9_10] missing declaration of INSIST 2017-10-03 20:03:25 -07:00
Tinderbox User
aafc292564 update copyright notice / whitespace 2017-10-03 23:47:11 +00:00
Evan Hunt
e43e479d5b [v9_10] 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
			- No longer use ISC DLV by default in delv
			[RT #46155]
2017-10-03 00:52:58 -07:00
Mark Andrews
825f4a4869 4748. [cleanup] Sprintf to snprintf coversions. [RT #46132]
(cherry picked from commit a009d03a1a)
2017-10-03 14:55:57 +11:00
Tinderbox User
957dd25717 update copyright notice / whitespace 2017-09-27 23:47:43 +00:00
Mark Andrews
b996491e66 switch to using snprintf from sprintf
(cherry picked from commit d386eb54c6)
2017-09-28 07:16:27 +10:00
Mukund Sivaraman
6da7b3227c Make isc_refcount_current() atomically read the counter value (#46074)
(cherry picked from commit abb8813a33)
(cherry picked from commit a8fa3e2d44)
2017-09-27 15:11:05 +05:30
Mukund Sivaraman
b85bb66388 Use stdatomic.h in acache code (#46085)
Part of change 4728.

(cherry picked from commit d0d2ba9546)
2017-09-27 15:00:09 +05:30
Mark Andrews
124f5de567 tcp test got reversed
(cherry picked from commit b4c31c8795)
2017-09-27 15:20:25 +10:00
Mark Andrews
755e74bb28 4739. [cleanup] Address clang static analysis warnings. [RT #45952]
(cherry picked from commit f9f3f20d2d)
2017-09-27 13:00:57 +10:00
Evan Hunt
a6184ac6ee [v9_10] backport rpz tweaks
4713.	[cleanup]	Minor revisions to RPZ code to reduce
			differences with the development branch. [RT #46037]

(cherry picked from commit 68d7ff133c)
2017-09-26 11:03:26 -07:00
Mark Andrews
5d6a51ce1b 4737. [cleanup] Address Coverity warnings. [RT #46012]
(cherry picked from commit 08151d7fce)
2017-09-26 23:25:02 +10:00
Michał Kępień
c024e79d2d [v9_10] 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:28:47 +02:00
Mukund Sivaraman
7cf6516670 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)
2017-09-22 15:15:59 +05:30
Mark Andrews
abe0548125 #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:09:58 +10:00
Tinderbox User
b79ebcdaf0 regen v9_10 2017-09-21 07:37:08 +00:00
Mark Andrews
b129689ff1 #include <stdint.h> 2017-09-21 14:20:59 +10:00
Tinderbox User
f3b815c257 regen v9_10 2017-09-21 03:52:25 +00:00
Mark Andrews
7260156bec atomic_compare_exchange_strong_explicit's second argument should not be atomic_* 2017-09-21 13:41:56 +10:00
Mark Andrews
4e714d3766 explicitly list test programs 2017-09-21 13:06:42 +10:00
Tinderbox User
fb548d30d7 update copyright notice / whitespace 2017-09-19 23:48:54 +00:00
Mukund Sivaraman
71a86a75d9 Fix out of bounds access in DHCID totext() method (#46001)
(cherry picked from commit 98998f3ddd)
(cherry picked from commit 027a4a5b5d)
2017-09-19 19:34:31 +05:30
Mukund Sivaraman
aaf04460a0 Don't use memset() to wipe memory (#45947)
(cherry picked from commit d5707676e4)
(cherry picked from commit b5252fcde5)
2017-09-19 17:45:57 +05:30
Mukund Sivaraman
5bae58a2e7 Use C11's stdatomic.h instead of isc_atomic where available
(cherry picked from commit 404c9b1c53)
(cherry picked from commit 9905606390)
2017-09-19 15:53:32 +05:30
Tinderbox User
3ea46cae3e update copyright notice / whitespace 2017-09-18 23:55:11 +00:00
Michał Kępień
4ceebc8874 [v9_10] Prevent possible infinite signing loop after retransferring an inline-signed slave using NSEC3
4727.	[bug]		Retransferring an inline-signed slave using NSEC3
			around the time its NSEC3 salt was changed could result
			in an infinite signing loop. [RT #45080]

(cherry picked from commit 62f2fefaec)
2017-09-18 09:28:34 +02:00
Mark Andrews
40697a91e3 don't use strlcat with non NUL terminated strings rt45981_stage3
(cherry picked from commit dc71aa898a)
2017-09-15 13:14:48 +10:00
Tinderbox User
3ae4b027b9 update copyright notice / whitespace 2017-09-14 23:50:11 +00:00
Mark Andrews
33c4213802 silence warning
(cherry picked from commit c59bf663e8)
2017-09-14 19:02:50 +10:00
Mark Andrews
2fd8fb5b74 #include <isc/string.h>
(cherry picked from commit 7eb73f6288)
2017-09-14 18:58:19 +10:00
Mark Andrews
759d231b5e #include <isc/string.h>
(cherry picked from commit 5fb0c09a5e)
2017-09-14 18:55:22 +10:00
Mark Andrews
f31a98ebbf more str{n}{cat,cpy} corrections rt45981_stage2
(cherry picked from commit cb629cdeda)
2017-09-14 18:40:23 +10:00
Evan Hunt
00bf7aa70e [v9_10] cast char * 2017-09-13 22:04:13 -07:00
Evan Hunt
2782b17587 [v9_10] clean up bufsize errors
(cherry picked from commit 9b729a06b0)
2017-09-13 21:19:23 -07:00
Tinderbox User
9b39cb394a update copyright notice / whitespace 2017-09-13 23:54:53 +00:00
Evan Hunt
047f41241c [v9_10] fix incorrect comment 2017-09-13 13:54:47 -07:00
Mukund Sivaraman
822ee758b0 Fix output string size in GOST unittest
(cherry picked from commit e5eca6eebb)
(cherry picked from commit d45eddf28f)
2017-09-14 01:36:52 +05:30
Mukund Sivaraman
d2f0804591 Fix gost unittest failure
(cherry picked from commit 93f7384928)
(cherry picked from commit e004f87b71)
2017-09-14 00:30:22 +05:30
Mark Andrews
bf5e318303 add #include <isc/string.h>
(cherry picked from commit 4c9ba9ded8)
(cherry picked from commit 28a55095f7)
2017-09-13 19:52:21 +05:30
Mukund Sivaraman
83dfa75ac3 Add missing <isc/print.h>
(cherry picked from commit 188fa6ea68)
(cherry picked from commit a13e9f894c)
2017-09-13 19:52:20 +05:30
Mukund Sivaraman
f3e90ace9d Tweak hash_test.c further, passing sizeof(str)
(cherry picked from commit 8997fc0a3f)
(cherry picked from commit fc7ed600ae)
2017-09-13 19:34:31 +05:30
Mukund Sivaraman
1be28340db Tweak
(cherry picked from commit a2873eabf6)
(cherry picked from commit 4baac8b9f3)
2017-09-13 19:34:30 +05:30
Mukund Sivaraman
6e338884b5 Fix size of output string in hash tests
(cherry picked from commit bc5e0a6868)
(cherry picked from commit 3dc00443bb)
2017-09-13 19:34:28 +05:30