Evan Hunt
0405014c66
[master] silence warning
2018-01-22 13:07:24 -08:00
Evan Hunt
a2a90a71a3
[master] fix unresolved externals for win32
2018-01-22 11:45:33 -08:00
Evan Hunt
129c4414cb
[master] automatically generate named.conf grammars for the ARM
...
4873. [doc] Grammars for named.conf included in the ARM are now
automatically generated by the configuration parser
itself. As a side effect of the work needed to
separate zone type grammars from each other, this
also makes checking of zone statements in
named-checkconf more correct and consistent.
[RT #36957 ]
2018-01-22 11:06:32 -08:00
Mukund Sivaraman
8a4ce20172
Don't permit loading meta RR types such as TKEY from master files ( #47009 )
2018-01-22 14:26:04 +05:30
Tinderbox User
38a9d9ba76
update copyright notice / whitespace
2018-01-21 23:45:57 +00:00
Mark Andrews
af034ef188
silence clang static analyser warning. [RT #46881 ]
2018-01-22 09:47:53 +11:00
Mark Andrews
fdd8838bf9
4869. [bug] Address some cases where NULL with zero length could
...
be passed to memmove which is undefined behaviour and
can lead to bad optimisation. [RT #46888 ]
2018-01-22 09:36:12 +11:00
Tinderbox User
8b8c2990d6
update copyright notice / whitespace
2018-01-17 23:45:56 +00:00
Francis Dupont
30e96c7709
bcmp -> memcmp
2018-01-17 15:31:33 +01:00
Francis Dupont
614d838acf
Merged rt46864 (check MD5 amd SHA1 support)
2018-01-17 14:33:21 +01:00
Tinderbox User
3d2a6c9949
update copyright notice / whitespace
2018-01-16 23:45:57 +00:00
Michał Kępień
73819362d8
[master] Simplify handling isc_socket_sendto2() return values when flags == 0
...
4865. [cleanup] Simplify handling isc_socket_sendto2() return values.
[RT #46986 ]
2018-01-16 08:33:30 +01:00
Tinderbox User
ed9fea3a6e
update copyright notice / whitespace
2018-01-15 23:46:16 +00:00
Michał Kępień
ae51a676c9
[master] Ensure all master definitions in a catalog zone contain an IP address
...
4864. [bug] named acting as a slave for a catalog zone crashed if
the latter contained a master definition without an IP
address. [RT #45999 ]
2018-01-15 20:50:09 +01:00
Mark Andrews
fa22351a7c
silence coverity false positive. [RT #46841 ]
2018-01-15 12:02:41 +11:00
Tinderbox User
5ce167be2e
update copyright notice / whitespace
2018-01-12 23:45:54 +00:00
Mukund Sivaraman
f96133826e
Fix various bugs reported by valgrind --tool=memcheck ( #46978 )
2018-01-13 00:33:35 +05:30
Tinderbox User
1883d11ca2
update copyright notice / whitespace
2018-01-11 23:45:53 +00:00
Mark Andrews
2fca8cbdff
memset the remainder of sendcmsgbuf to 0 in a attempt to silence valgrind; msg->msg_control was not being set when it should have been; be consistent when setting msg->msg_control
2018-01-11 16:19:00 +11:00
Tinderbox User
4b48e307e0
update copyright notice / whitespace
2018-01-10 23:46:37 +00:00
Mark Andrews
7befb67af4
4862. [bug] The rdata flags for RRSIG was not being properly set
...
when constructing a rdataslab. [RT #46978 ]
2018-01-11 09:51:52 +11:00
Tinderbox User
099a9efd82
update copyright notice / whitespace
2018-01-09 23:45:45 +00:00
Mark Andrews
0ce212b9f5
4861. [bug] The isc_crc64 unit test was not endian independent.
...
[RT #46973 ]
2018-01-10 09:46:08 +11:00
Mark Andrews
21f708c88c
4860. [bug] isc_int8_t should be signed char. [RT #46973 ]
2018-01-10 08:41:26 +11:00
Mark Andrews
67faaa41c9
test devent->sigrdataset rather than devent->rdataset before calling query_putrdataset
2018-01-05 12:36:21 +11:00
Mark Andrews
a922385850
mem.c failed to compile if ISC_MEM_CHECKOVERRUN=0
2018-01-05 12:13:17 +11:00
Tinderbox User
10e49fc83b
update copyright notice / whitespace
2018-01-04 23:45:32 +00:00
Mark Andrews
a0e66ef6dd
unconditionally typedef summarystat_t for coverity
2018-01-05 10:10:34 +11:00
Evan Hunt
053b51c4db
[master] block validator deadlock and prevent use-after-free
...
4859. [bug] A loop was possible when attempting to validate
unsigned CNAME responses from secure zones;
this caused a delay in returning SERVFAIL and
also increased the chances of encountering
CVE-2017-3145. [RT #46839 ]
4858. [security] Addresses could be referenced after being freed
in resolver.c, causing an assertion failure.
(CVE-2017-3145) [RT #46839 ]
2018-01-03 19:11:18 -08:00
Mark Andrews
9e6b394410
use RESTORE rather than SAVE as is better describes the operation
2018-01-04 13:11:28 +11:00
Mark Andrews
eed2f6cef0
4857. [bug] Maintain attach/detach semantics for event->db,
...
event->node, event->rdataset and event->sigrdataset
in query.c. [RT #46891 ]
2018-01-04 10:48:18 +11:00
Tinderbox User
a280a7871d
update copyright notice / whitespace
2018-01-03 23:45:29 +00:00
Mark Andrews
1e10ef06ce
4855. [bug] isc_time_formatshorttimestamp produced incorrect
...
output. [RT #46938 ]
2018-01-04 09:57:40 +11:00
Mark Andrews
7258b852cf
missing newline in comment
2018-01-03 17:11:12 +11:00
Tinderbox User
7bba3a7c44
update copyright notice / whitespace
2018-01-02 23:45:28 +00:00
Mark Andrews
c9ee9718ae
4854. [bug] query_synthcnamewildcard should stop generating the
...
response if query_synthwildcard fails. [RT #46939 ]
2018-01-03 10:07:42 +11:00
Mark Andrews
0645f8f1ce
4853. [bug] Add REQUIRE's and INSIST's to isc_time_formatISO8601L
...
and isc_time_formatISO8601Lms. [RT #46916 ]
2018-01-02 10:57:31 +11:00
Mark Andrews
7770e0b069
4852. [bug] Handle strftime() failing in isc_time_formatISO8601ms.
...
Add REQUIRE's and INSIST's to isc_time_formattimestamp,
isc_time_formathttptimestamp, isc_time_formatISO8601,
isc_time_formatISO8601ms. [RT #46892 ]
2018-01-02 10:48:08 +11:00
Tinderbox User
903662d5c3
regen master
2017-12-29 01:44:18 +00:00
Tinderbox User
015c017dfa
regen master
2017-12-29 01:04:39 +00:00
Mark Andrews
9f61f6b46b
initalize sigsize to zero; ATF_CHECK_EQ(sigsize, tsig.siglen);
2017-12-22 08:58:20 +11:00
Evan Hunt
79c2400d91
[master] allow primary/secondary as synonyms for master/slave
...
4848. [func] Zone types "primary" and "secondary" can now be used
as synonyms for "master" and "slave" in named.conf.
[RT #46713 ]
2017-12-15 01:47:05 -08:00
Mark Andrews
4d1bbe308d
4847. [bug] dnssec-dnskey-kskonly was not being honoured for
...
CDS and CDNSKEY. [RT #46755 ]
2017-12-13 12:40:36 +11:00
Mark Andrews
cb8650d875
don't attempt to call isc_buffer_free(&buf) twice; don't attempt to call dns_message_destroy(&msg) twice; don't test for key != NULL
2017-12-12 13:20:56 +11:00
Mark Andrews
63459cdc05
4842. [bug] Conditionally compile opensslecdsa_link.c to avoid
...
warnings about unused function. [RT #46790 ]
2017-12-07 13:26:21 +11:00
Evan Hunt
c4f9d720eb
[master] copyrights
2017-12-06 09:24:36 -08:00
Mark Andrews
9d5a0abe81
4841. [bug] Address -fsanitize=undefined warnings. [RT #46786 ]
2017-12-06 21:00:14 +11:00
Mark Andrews
00f5ea91cf
4839. [bug] zone.c:zone_sign was not properly determining
...
if there were active KSK and ZSK keys for
a algorithm when update-check-ksk is true
(default) leaving records unsigned with one or
more DNSKEY algorithms. [RT #46774 ]
2017-12-05 16:09:47 +11:00
Mark Andrews
6fa2a0691e
4838. [bug] zone.c:add_sigs was not properly determining
...
if there were active KSK and ZSK keys for
a algorithm when update-check-ksk is true
(default) leaving records unsigned with one or
more DNSKEY algorithms. [RT #46754 ]
2017-12-05 09:25:09 +11:00
Mark Andrews
196e01da5f
4837. [bug] dns_update_signatures{inc} (add_sigs) was not
...
properly determining if there were active KSK and
ZSK keys for a algorithm when update-check-ksk is
true (default) leaving records unsigned. [RT #46743 ]
2017-12-04 10:03:51 +11:00