Commit Graph

6851 Commits

Author SHA1 Message Date
Mark Andrews
800c5a61a2 simplify expression 2018-02-16 14:08:26 +11:00
Mark Andrews
2f859b6f9e use %u and preserve unsigned property 2018-02-16 14:08:26 +11:00
Mark Andrews
a4d75d92aa make declaration and use of setnocookie fully conditional 2018-02-16 14:08:26 +11:00
Mark Andrews
c178a8e904 cast to unsigned 2018-02-16 14:08:26 +11:00
Mark Andrews
19ef6d7b21 preserve unsigned property 2018-02-16 14:08:26 +11:00
Mark Andrews
585a420c64 make both arguments of & unsigned 2018-02-16 14:08:26 +11:00
Mark Andrews
d177c5ffc1 use %u instead of %d 2018-02-16 14:08:26 +11:00
Mark Andrews
684424a6fe use %u instead of %d 2018-02-16 14:08:26 +11:00
Mark Andrews
f691251b95 unsigned constants 2018-02-16 14:08:26 +11:00
Mark Andrews
df835b580b unsigned constants 2018-02-16 14:08:25 +11:00
Mark Andrews
615822391e use %u instead of %d 2018-02-16 14:08:25 +11:00
Mark Andrews
ef957e6d25 use %u instead of %d 2018-02-16 14:08:25 +11:00
Mark Andrews
9e2a1ba979 use %u instead of %d 2018-02-16 14:08:25 +11:00
Mark Andrews
da38b41d83 prevent implict conversion to signed 2018-02-16 14:07:35 +11:00
Mark Andrews
c132205eb2 use %u instead of %d 2018-02-16 14:07:35 +11:00
Mark Andrews
e25d38c68b INSIST ipnum6 != NULL 2018-02-16 14:07:35 +11:00
Mark Andrews
bb426bb13a use %u instead of %d 2018-02-16 14:07:35 +11:00
Mark Andrews
fa7f2ef594 use %u instead of %d 2018-02-16 14:07:34 +11:00
Mark Andrews
571b3a4005 test for >= 0 and use %d instead of %u 2018-02-16 14:07:34 +11:00
Mark Andrews
c4c2d94e61 formally cast to int; use %u instead of %d 2018-02-16 14:07:34 +11:00
Mark Andrews
e71e7673b3 formally cast to int 2018-02-16 14:07:34 +11:00
Evan Hunt
988f5de10a [v9_12] prep 9.12.1b1 2018-02-08 13:47:56 -08:00
Tinderbox User
85fec73a21 update copyright notice / whitespace 2018-02-07 23:47:00 +00:00
Mark Andrews
b329876bf1 4885. [security] update-policy rules that otherwise ignore the name
field now require that it be set to "." to ensure
                        that any type list present is properly interpreted.
                        [RT #47126]

(cherry picked from commit ec771bbdc8)
2018-02-07 13:36:45 +11:00
Tinderbox User
fd7a1d9cb9 update copyright notice / whitespace 2018-01-30 23:46:57 +00:00
Mark Andrews
d52acebeb8 4882. [bug] Address potential memory leak in
dns_update_signaturesinc. [RT #47084]

(cherry picked from commit 7817caa3c7)
2018-01-30 15:27:51 +11:00
Mark Andrews
0e24c4d100 4881. [bug] Only include dst_openssl.h when OpenSSL is required.
[RT #47068]

(cherry picked from commit a64503c736)
2018-01-30 15:21:29 +11:00
Mark Andrews
36d1e278c1 4879. [bug] dns_rdata_caa:value_len is was small. [RT #47086]
(cherry picked from commit 3ae586b857)
2018-01-30 11:00:34 +11:00
Tinderbox User
d59b79c94f update copyright notice / whitespace 2018-01-24 23:46:37 +00:00
Evan Hunt
bb0a05e72b [v9_12] change uint to isc_uint 2018-01-24 11:02:57 -08:00
Evan Hunt
7e7a5bb189 [v9_12] update 9.11 api range 2018-01-24 10:23:11 -08:00
Evan Hunt
67b1e54716 [v9_12] address overflow in retry backoff
4877.	[bug]		Address integer overflow when exponentially
			backing off retry intervals. [RT #47041]

(cherry picked from commit 8b440753b6)
2018-01-24 09:45:55 -08:00
Mark Andrews
c34b3b98ab 4876. [bug] Address deadlock with accessing a keytable. [RT #47000]
(cherry picked from commit b575c4ec42)
2018-01-24 18:56:28 +11:00
Mark Andrews
132e7795f9 4874. [bug] Wrong time display when reporting new keywarntime.
[RT #47042]

(cherry picked from commit 83d005de61)
2018-01-24 08:00:25 +11:00
Tinderbox User
6774dbb0ab update copyright notice / whitespace 2018-01-22 23:46:35 +00:00
Mukund Sivaraman
c8eb726046 Don't permit loading meta RR types such as TKEY from master files (#47009)
(cherry picked from commit 8a4ce20172)
2018-01-22 14:31:05 +05:30
Tinderbox User
5088140fc7 update copyright notice / whitespace 2018-01-21 23:46:29 +00:00
Mark Andrews
f6911d4295 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]

(cherry picked from commit fdd8838bf9)
2018-01-22 09:37:30 +11:00
Tinderbox User
c2140b163e update copyright notice / whitespace 2018-01-17 23:46:24 +00:00
Francis Dupont
5075f3faef Merged rt46864 (check MD5 amd SHA1 support) 2018-01-17 14:36:06 +01:00
Tinderbox User
b1ef8c1d9c update copyright notice / whitespace 2018-01-15 23:46:48 +00:00
Michał Kępień
893517ec31 [v9_12] 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]

(cherry picked from commit ae51a676c9)
2018-01-15 20:52:37 +01:00
Tinderbox User
eee54aab6e update copyright notice / whitespace 2018-01-12 23:46:21 +00:00
Mukund Sivaraman
0374e1c3fd Fix various bugs reported by valgrind --tool=memcheck (#46978)
(cherry picked from commit f96133826e)
2018-01-13 00:37:28 +05:30
Tinderbox User
5f73c315d0 update copyright notice / whitespace 2018-01-10 23:48:07 +00:00
Mark Andrews
b69bb481cf 4862. [bug] The rdata flags for RRSIG was not being properly set
when constructing a rdataslab. [RT #46978]

(cherry picked from commit 7befb67af4)
2018-01-11 09:54:06 +11:00
Tinderbox User
77caf49c98 update copyright notice / whitespace 2018-01-04 23:45:53 +00:00
Evan Hunt
2b51d5874c [v9_12] 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:18:29 -08:00
Tinderbox User
82820349cb update copyright notice / whitespace 2018-01-03 23:45:49 +00:00
Mark Andrews
84499d7f41 missing newline in comment
(cherry picked from commit 7258b852cf)
2018-01-03 17:11:39 +11:00