Commit Graph
23840 Commits
Author SHA1 Message Date
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
Mukund Sivaraman d90adc2def Fix out of bounds access in DHCID totext() method (#46001)
(cherry picked from commit 98998f3ddd)
(cherry picked from commit 027a4a5b5d)
(cherry picked from commit 71a86a75d9)
2017-09-19 19:34:46 +05:30
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 de1ba63361 update copyright notice / whitespace 2017-09-18 23:58:51 +00:00
Tinderbox User 24bc091953 newcopyrights 2017-09-18 23:33:29 +00:00
Michał Kępień c0ef11fb2e [v9_9] 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 4ceebc8874)
2017-09-18 09:30:56 +02:00
Mark Andrews ecab2b21f1 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:43 +10:00
Mark Andrews b66c89c0e0 don't use strlcat with non NUL terminated strings rt45981_stage3
(cherry picked from commit dc71aa898a)
2017-09-15 13:15:01 +10:00
Tinderbox User 928c3c53c6 update copyright notice / whitespace 2017-09-14 23:59:05 +00:00
Tinderbox User 14676888e9 newcopyrights 2017-09-14 23:31:45 +00:00
Evan Hunt 57807b8e0d [v9_9] revert dlzexternal changes for portability 2017-09-14 11:34:40 -07:00
Mark Andrews 80420ec94f silence warning
(cherry picked from commit c59bf663e8)
2017-09-14 19:02:55 +10:00
Mark Andrews 7eb73f6288 #include <isc/string.h> 2017-09-14 18:57:53 +10:00
Mark Andrews b3faa2b293 (cherry picked from commit 5fb0c09a5e) 2017-09-14 18:55:51 +10:00
Mark Andrews af9aed27c1 more str{n}{cat,cpy} corrections rt45981_stage2
(cherry picked from commit cb629cdeda)
2017-09-14 18:43:48 +10:00
Mukund Sivaraman d139a4936d Link dlzexternal system test's driver against libisc
(cherry picked from commit bbe9f1dd95)
(cherry picked from commit e05b7dc69a)
(cherry picked from commit 69cbd89f0d)
2017-09-14 13:38:12 +05:30
Evan Hunt c9487f5d2e [v9_9] cast char * 2017-09-13 22:04:18 -07:00
Evan Hunt acaa5bec31 [v9_9] clean up bufsize errors
(cherry picked from commit 9b729a06b0)
2017-09-13 21:19:38 -07:00
Tinderbox User 077f3c4e27 update copyright notice / whitespace 2017-09-14 00:03:54 +00:00
Tinderbox User 610b0a47da newcopyrights 2017-09-13 23:34:44 +00:00
Mark Andrews 55e9dba255 fix filenamelen so it has the buffer length rather than buffer length - 1
(cherry picked from commit 21c12d0107)
2017-09-14 09:30:16 +10:00
Evan Hunt e59da386dc [v9_9] fix incorrect comment 2017-09-13 13:54:38 -07:00
Mukund Sivaraman 20a3b9a914 add #include <isc/string.h>
(cherry picked from commit 4c9ba9ded8)
(cherry picked from commit 28a55095f7)
(cherry picked from commit bf5e318303)
2017-09-13 20:00:18 +05:30
Mukund Sivaraman 4c9e65a0dd Add missing <isc/print.h>
(cherry picked from commit 188fa6ea68)
(cherry picked from commit a13e9f894c)
(cherry picked from commit 83dfa75ac3)
2017-09-13 19:59:05 +05:30
Mukund Sivaraman de42212c63 Tweak hash_test.c further, passing sizeof(str)
(cherry picked from commit 8997fc0a3f)
(cherry picked from commit fc7ed600ae)
(cherry picked from commit f3e90ace9d)
2017-09-13 19:35:45 +05:30
Mukund Sivaraman 247224ab2d Tweak
(cherry picked from commit a2873eabf6)
(cherry picked from commit 4baac8b9f3)
(cherry picked from commit 1be28340db)
2017-09-13 19:35:06 +05:30
Mukund Sivaraman da42d8e733 Fix size of output string in hash tests
(cherry picked from commit bc5e0a6868)
(cherry picked from commit 3dc00443bb)
(cherry picked from commit 6e338884b5)
2017-09-13 19:35:04 +05:30
Francis DupontandMark Andrews 8e0ecaf328 Added isc/string.h to shutdown_test which got strlcpy
(cherry picked from commit 804ca1d926)
2017-09-13 23:02:00 +10:00