Commit Graph

24791 Commits

Author SHA1 Message Date
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
9411ffc095 4725. [bug] Nsupdate: "recvsoa" was incorrectly reported for
failures in sending the update message.  The correct
                        location to be reported is "update_completed".
                        [RT #46014]

(cherry picked from commit 0bcb8b0b7c)
2017-09-18 14:30:28 +10: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
Tinderbox User
0a8652aa86 newcopyrights 2017-09-14 23:31:03 +00:00
Evan Hunt
0a03e39790 [v9_10] revert dlzexternal changes for portability 2017-09-14 11:34:10 -07: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
Mukund Sivaraman
69cbd89f0d Link dlzexternal system test's driver against libisc
(cherry picked from commit bbe9f1dd95)
(cherry picked from commit e05b7dc69a)
2017-09-14 13:37:46 +05:30
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
Tinderbox User
4a50199935 newcopyrights 2017-09-13 23:32:36 +00:00
Mark Andrews
9e10bdb55f fix filenamelen so it has the buffer length rather than buffer length - 1
(cherry picked from commit 21c12d0107)
2017-09-14 09:30:11 +10: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
Francis Dupont
035c315235 Added isc/string.h to shutdown_test which got strlcpy
(cherry picked from commit 804ca1d926)
2017-09-13 23:01:10 +10:00
Evan Hunt
e0ddfb109e [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)
2017-09-13 00:18:44 -07:00
Mark Andrews
9caa3cec56 give more time for the initial signing of bits in the inline signing test to complete
(cherry picked from commit e930487ce7)
2017-09-13 12:19:49 +10:00
Mark Andrews
3e777e1e1f fix first if test in setoption
(cherry picked from commit abda73147d)
2017-09-13 11:58:55 +10:00
Mark Andrews
3534cc3144 4719. [bug] Address PVS static analyzer warnings. [RT #45946]
(cherry picked from commit 34130ee25a)
2017-09-13 09:53:13 +10:00
Tinderbox User
87f5992d62 update copyright notice / whitespace 2017-09-12 23:48:28 +00:00
Tinderbox User
7aac3b3070 newcopyrights 2017-09-12 23:32:30 +00:00
Evan Hunt
8bfb6923e2 [v9_10] improve handling of qcount=0 replies
4717.	[bug]		Treat replies with QCOUNT=0 as truncated if TC=1,
			FORMERR if TC=0, and log the error correctly.
			[RT #45836]

(cherry picked from commit 25b33bede4)
(cherry picked from commit a2a0100e0f)
2017-09-12 15:27:12 -07:00
Mark Andrews
23d9ceabae 4715. [bug] TreeMemMax was mis-identified as a second HeapMemMax
in the Json cache statistics. [RT #45980]

(cherry picked from commit 0a1359034d)
2017-09-12 14:55:46 +10:00
Mark Andrews
b51a66b4f3 4714. [port] openbsd/libressl: add support for building with
--enable-openssl-hash. [RT #45982]

(cherry picked from commit c75e9c7630)
2017-09-12 14:20:38 +10:00
Mark Andrews
c97d0c548c update 2017-09-12 12:51:03 +10:00
Evan Hunt
88e2cefcc2 [v9_10] dig: retain domain when retrying with tcp
4712.	[bug]		"dig +domain" and "dig +search" didn't retain the
			search domain when retrying with TCP. [RT #45547]

(cherry picked from commit 8e014c45ae)
2017-09-11 10:32:27 -07:00
Evan Hunt
87a593271d [v9_10] add missing rrtypes to genzones
4711.	[test]		Some RR types were missing from genzones.sh.
			[RT #45782]

(cherry picked from commit 3e66721b35)
(cherry picked from commit 29f0ced781)
2017-09-11 09:35:10 -07:00
Evan Hunt
2755d9708c [v9_10] removed outdated library reference 2017-09-09 11:50:28 -07:00
Tinderbox User
d07f95402d update copyright notice / whitespace 2017-09-08 23:48:21 +00:00
Tinderbox User
0287e4b61a newcopyrights 2017-09-08 23:32:12 +00:00
Evan Hunt
8cc85bb736 [v9_10] change hash function for RRL
4709.	[cleanup]	Use dns_name_fullhash() to hash names for RRL.
			[RT #45435]

(cherry picked from commit f13385770e)
(cherry picked from commit b9fd54f8d4)
2017-09-08 15:47:04 -07:00
Tinderbox User
8c4a217078 update copyright notice / whitespace 2017-09-07 23:50:03 +00:00
Tinderbox User
c8b5ccfbca newcopyrights 2017-09-07 23:31:01 +00:00
Mark Andrews
c8854351f7 4703. [bug] BINDInstall.exe was missing some buffer length checks.
[RT #45898]

(cherry picked from commit 7e40d6274e)
2017-09-07 12:59:41 +10:00
Mark Andrews
bdc943e86e sync option order with master 2017-09-06 17:26:52 +10:00
Mark Andrews
ad014e9235 add PYTHON_INSTALL_DIR 2017-09-06 13:24:19 +10:00
Tinderbox User
b664f12618 regen v9_10 2017-09-05 01:27:38 +00:00
Tinderbox User
d373489aa4 update copyright notice / whitespace 2017-09-04 23:48:00 +00:00
Tinderbox User
f0b2cafd24 newcopyrights 2017-09-04 23:31:15 +00:00
Michał Kępień
25aeff76ad [v9_10] Add --with-python-install-dir configure option
4698.	[port]		Add --with-python-install-dir configure option to allow
			specifying a nonstandard installation directory for
			Python modules. [RT #45407]

(cherry picked from commit a5dc1bc395)
2017-09-04 08:45:36 +02:00