Mark Andrews
d71d41341d
4740. [cleanup] Avoid triggering format-truncated warnings. [RT #46107 ]
2017-09-27 16:20:00 +10:00
Mark Andrews
62cce53589
tcp test got reversed
...
(cherry picked from commit b4c31c8795 )
2017-09-27 15:20:16 +10:00
Mark Andrews
d72952cf25
4739. [cleanup] Address clang static analysis warnings. [RT #45952 ]
...
(cherry picked from commit f9f3f20d2d )
2017-09-27 10:58:44 +10:00
Evan Hunt
68d7ff133c
[v9_11] backport rpz tweaks
...
4713. [cleanup] Minor revisions to RPZ code to reduce
differences with the development branch. [RT #46037 ]
2017-09-26 11:02:59 -07:00
Mark Andrews
6b183c64a3
4737. [cleanup] Address Coverity warnings. [RT #46012 ]
...
(cherry picked from commit 08151d7fce )
2017-09-26 23:24:37 +10:00
Michał Kępień
5a8f2f0cd6
[v9_11] 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:38 +02:00
Mukund Sivaraman
dc0d95a23d
Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere)
...
(cherry picked from commit fb9712f639 )
2017-09-22 15:15:34 +05:30
Mark Andrews
7f8ccd62f2
#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:50 +10:00
Tinderbox User
c05cfdba6a
update copyright notice / whitespace
2017-09-21 23:50:32 +00:00
Mark Andrews
07b1de86e1
alphabetise
2017-09-21 18:06:34 +10:00
Tinderbox User
731c2e5f0f
regen v9_11
2017-09-21 07:30:52 +00:00
Mark Andrews
d037e4dbbe
#include <stdint.h>
2017-09-21 14:20:53 +10:00
Tinderbox User
28a3d74227
regen v9_11
2017-09-21 03:48:24 +00:00
Mark Andrews
c0d6d4e2f2
atomic_compare_exchange_strong_explicit's second argument should not be atomic_*
2017-09-21 13:41:43 +10:00
Mark Andrews
e24ec1cb12
explicitly list test programs
2017-09-21 13:06:26 +10:00
Tinderbox User
8688e7005a
update copyright notice / whitespace
2017-09-19 23:47:50 +00:00
Mukund Sivaraman
027a4a5b5d
Fix out of bounds access in DHCID totext() method ( #46001 )
...
(cherry picked from commit 98998f3ddd )
2017-09-19 19:34:13 +05:30
Mukund Sivaraman
b5252fcde5
Don't use memset() to wipe memory ( #45947 )
...
(cherry picked from commit d5707676e4 )
2017-09-19 17:00:37 +05:30
Mukund Sivaraman
9905606390
Use C11's stdatomic.h instead of isc_atomic where available
...
(cherry picked from commit 404c9b1c53 )
2017-09-19 15:49:21 +05:30
Tinderbox User
acce4b333d
update copyright notice / whitespace
2017-09-18 23:52:43 +00:00
Michał Kępień
62f2fefaec
[v9_11] 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 f665c724e4 )
2017-09-18 09:23:18 +02:00
Michał Kępień
b351a58647
[v9_11] Improve handling of TCP_FASTOPEN on FreeBSD
...
4726. [port] Prevent setsockopt() errors related to TCP_FASTOPEN
from being logged on FreeBSD if the kernel does not
support it. Notify the user when the kernel does
support TCP_FASTOPEN, but it is disabled by sysctl.
Add a new configure option, --disable-tcp-fastopen, to
disable use of TCP_FASTOPEN altogether. [RT #44754 ]
(cherry picked from commit c2179857de )
2017-09-18 08:34:53 +02:00
Mark Andrews
2832654236
don't use strlcat with non NUL terminated strings rt45981_stage3
...
(cherry picked from commit dc71aa898a )
2017-09-15 13:14:40 +10:00
Tinderbox User
7c38d4781f
update copyright notice / whitespace
2017-09-14 23:48:31 +00:00
Mark Andrews
2b5e8ac281
silence warning
...
(cherry picked from commit c59bf663e8 )
2017-09-14 19:02:45 +10:00
Mark Andrews
cd320a8d23
#include <isc/string.h>
...
(cherry picked from commit 7eb73f6288 )
2017-09-14 18:58:52 +10:00
Mark Andrews
4f851656c4
#include <isc/string.h>
...
(cherry picked from commit 5fb0c09a5e )
2017-09-14 18:55:15 +10:00
Mark Andrews
5a93d3be4e
more str{n}{cat,cpy} corrections rt45981_stage2
...
(cherry picked from commit cb629cdeda )
2017-09-14 18:33:02 +10:00
Evan Hunt
41621724af
[v9_11] cast char *
2017-09-13 22:04:08 -07:00
Evan Hunt
4c2dd50d64
[v9_11] clean up bufsize errors
...
(cherry picked from commit 9b729a06b0 )
2017-09-13 21:19:11 -07:00
Tinderbox User
bd911976d5
update copyright notice / whitespace
2017-09-13 23:52:25 +00:00
Evan Hunt
7df17e0de2
[v9_11] fix incorrect comment
2017-09-13 13:53:57 -07:00
Mukund Sivaraman
d45eddf28f
Fix output string size in GOST unittest
...
(cherry picked from commit e5eca6eebb )
2017-09-14 01:36:37 +05:30
Mukund Sivaraman
e004f87b71
Fix gost unittest failure
...
(cherry picked from commit 93f7384928 )
2017-09-14 00:29:53 +05:30
Mark Andrews
28a55095f7
add #include <isc/string.h>
...
(cherry picked from commit 4c9ba9ded8 )
2017-09-13 19:51:49 +05:30
Mukund Sivaraman
a13e9f894c
Add missing <isc/print.h>
...
(cherry picked from commit 188fa6ea68 )
2017-09-13 19:48:20 +05:30
Mukund Sivaraman
fc7ed600ae
Tweak hash_test.c further, passing sizeof(str)
...
(cherry picked from commit 8997fc0a3f )
2017-09-13 19:32:57 +05:30
Mukund Sivaraman
4baac8b9f3
Tweak
...
(cherry picked from commit a2873eabf6 )
2017-09-13 19:32:56 +05:30
Mukund Sivaraman
3dc00443bb
Fix size of output string in hash tests
...
(cherry picked from commit bc5e0a6868 )
2017-09-13 19:32:54 +05:30
Evan Hunt
7cd594b842
[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 )
2017-09-13 00:17:16 -07:00
Mark Andrews
c76e8412f4
4719. [bug] Address PVS static analyzer warnings. [RT #45946 ]
...
(cherry picked from commit 34130ee25a )
2017-09-13 09:51:39 +10:00
Tinderbox User
c40e033d21
update copyright notice / whitespace
2017-09-12 23:47:30 +00:00
Evan Hunt
a2a0100e0f
[v9_11] 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 )
2017-09-12 15:27:06 -07:00
Mark Andrews
1feffc6fdb
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:40 +10:00
Mark Andrews
22bed621ef
4714. [port] openbsd/libressl: add support for building with
...
--enable-openssl-hash. [RT #45982 ]
(cherry picked from commit c75e9c7630 )
2017-09-12 14:20:13 +10:00
Evan Hunt
29f0ced781
[v9_11] add missing rrtypes to genzones
...
4711. [test] Some RR types were missing from genzones.sh.
[RT #45782 ]
(cherry picked from commit 3e66721b35 )
2017-09-11 09:35:03 -07:00
Evan Hunt
b9fd54f8d4
[v9_11] change hash function for RRL
...
4709. [cleanup] Use dns_name_fullhash() to hash names for RRL.
[RT #45435 ]
(cherry picked from commit f13385770e )
2017-09-08 15:46:55 -07:00
Mukund Sivaraman
836601ccc5
Tweak code (reviewed by Mark)
...
(cherry picked from commit cdabd36dc7 )
2017-09-01 12:42:12 +05:30
Mark Andrews
b301c4293c
4697. [bug] Restore workaround for Microsoft Windows TSIG hash
...
computation bug. [RT #45854 ]
(cherry picked from commit a8a20462b5 )
2017-09-01 11:23:40 +10:00
Mark Andrews
6e1f755f19
4695. [bug] cookie-secrets were not being properly checked by
...
named-checkconf. [RT #45886 ]
(cherry picked from commit 2e743d9bdc )
2017-08-31 13:28:59 +10:00