Commit graph

79 commits

Author SHA1 Message Date
Evan Hunt
65e144e0de [v9_9] isc_errno_toresult()
4445.	[cleanup]	isc_errno_toresult() can now be used to call the
			formerly private function isc__errno2result().
			[RT #43050]

(cherry picked from commit ddef16e1d9)
2016-08-17 11:37:51 -07:00
Tinderbox User
e52e476295 update copyright notice / whitespace 2016-07-14 23:54:00 +00:00
Mark Andrews
f4052d6e8f Windows doesn't like LLU use ULL instead
(cherry picked from commit 6b5d6472cdbdb57ee7d8247d85f07c42fb347663)
2016-07-14 11:14:09 +10:00
Mark Andrews
cbf91c5377 copyrights / whitespace 2016-02-11 10:47:24 +11:00
Mukund Sivaraman
80eff380a8 Add tests for hash function, and comment dns_rbt_addnode() (#41179)
No CHANGES entry necessary.

(cherry picked from commit 614ce1b65f)
(cherry picked from commit 400dd1020c)
2016-02-08 15:03:40 +05:30
Evan Hunt
7d984067ee [v9_9] fix python script versions
4257.	[cleanup]	Python scripts reported incorrect version. [RT #41080]
2015-11-08 21:41:04 -08:00
Mark Andrews
fcf31042f8 0xf5f5f5f5f5f5f5f5 is a LLU
(cherry picked from commit 7c38fa994b)
2015-10-30 08:13:53 +11:00
Evan Hunt
da7e65a6aa [v9_9] isc_atomic_storeq()/stats improvements
4248.	[func]		Add an isc_atomic_storeq() function, use it in
			stats counters to improve performance.
			[RT #39972] [RT #39979]
2015-10-28 22:22:04 -07:00
Tinderbox User
514488e7cf update copyright notice / whitespace 2015-10-15 23:46:07 +00:00
Mark Andrews
b2cb638754 4238. [bug] Don't send to servers on net zero (0.0.0.0/8).
[RT #40947]

(cherry picked from commit 6588a2b404)
2015-10-16 08:07:58 +11:00
Tinderbox User
d901205191 update copyright notice / whitespace 2015-08-18 23:46:14 +00:00
Evan Hunt
05d0d33cb8 [v9_9] timing safe memory comparisons
4183.	[cleanup]	Use timing-safe memory comparisons in cryptographic
			code. Also, the timing-safe comparison functions have
			been renamed to avoid possible confusion with
			memcmp(). [RT #40148]

(cherry picked from commit 420a43c8d8)
2015-08-17 18:31:11 -07:00
Mark Andrews
263cbd6fa1 4130. [bug] The compatability shim for *printf() misprinted some
large numbers. [RT #39586]

(cherry picked from commit 38c19e5779)
2015-05-29 07:25:31 +10:00
Francis Dupont
5627414c1e added print.h includes 2015-05-23 15:40:05 +02:00
Tinderbox User
dabbf1436e update copyright notice / whitespace 2015-05-21 23:46:24 +00:00
Evan Hunt
c65022d938 [v9_9] add %z format options to printf
4123.	[port]		Added %z (size_t) format options to the portable
			internal printf/sprintf implementation. [RT #39586]

(cherry picked from commit cadf8d687b)
2015-05-21 14:56:40 -07:00
Evan Hunt
c497f6ee4d [v9_9] fixed build errors with libressl
4088.	[port]		Fixed errors when building with libressl. [RT #38899]
2015-03-23 13:35:47 -05:00
Tinderbox User
ae051b2f18 update copyright notice / whitespace 2015-02-10 23:46:11 +00:00
Evan Hunt
efe260cc94 [v9_9] 5011 fixes
4056.	[bug]		Fixed several small bugs in automatic trust anchor
			management, including a memory leak and a possible
			loss of key state information. [RT #38458]
2015-02-10 13:12:55 -08:00
Tinderbox User
9cbd625449 update copyright notice / whitespace 2015-01-20 23:47:26 +00:00
Evan Hunt
57f015bd2a [v9_9] clean up gcc -Wshadow warnings
4039.	[cleanup]	Cleaned up warnings from gcc -Wshadow. [RT #37381]
2015-01-20 14:55:41 -08:00
Evan Hunt
1d47cb124d [v9_9] refactor max-recursion-queries
- the counters weren't set correctly when fetches timed out.
  instead we now pass down a counter object.

(cherry picked from commit 05e448935c)
(cherry picked from commit 6c049c57d9)
2014-11-19 18:38:52 -08:00
Mark Andrews
4cc275ad08 3998. [bug] isc_radix_search was returning matches that were
to precise. [RT #37680]

(cherry picked from commit b976c39c07)
2014-11-04 12:41:07 +11:00
Mark Andrews
90e563bb16 3898. [bug] To small a buffer in tohexstr() calls in test code.
[RT #36598]

(cherry picked from commit 6a6838f973)
2014-07-22 11:27:43 +10:00
Tinderbox User
3f05845322 update copyright notice 2014-07-15 23:46:00 +00:00
Mark Andrews
d85255bdc3 3894. [bug] Buffers in isc_print_vsnprintf were not properly
initialized leading to potential overflows when
                        printing out quad values. [RT #36505]

(cherry picked from commit 71ec6d0940)
2014-07-15 22:57:57 +10:00
Tinderbox User
9897222d78 update copyright notice 2014-03-04 23:45:33 +00:00
Evan Hunt
0ed727f405 [v9_9] use ANSI prototypes, clean up some casts
(cherry picked from commit b454c03196)
2014-03-04 10:48:05 -08:00
Evan Hunt
27f1c9ff52 [v9_9] portable replacement for timegm() 2014-01-10 19:22:15 -08:00
Mark Andrews
14d98f724e update copyrights 2014-01-11 07:10:14 +11:00
Mark Andrews
a89f89f11b add unit test for isc_time_parsehttptimestamp
(cherry picked from commit fd0f3e7cd8)
2014-01-11 00:33:45 +11:00
Tinderbox User
864ca7ce33 update copyright notice 2014-01-09 23:45:53 +00:00
Evan Hunt
8c7ce6d3e6 [v9_9] replace memcpy() with memmove().
3698.	[cleanup]	Replaced all uses of memcpy() with memmove().
			[RT #35120]

(cherry picked from commit ebe54c7d2221c6a0a4b3d96bcae3280c823a45e6)
2014-01-08 16:38:56 -08:00
Mark Andrews
c78b20dc6a 3668. [bug] Fix cast in lex.c which could see 0xff treated as eof.
[RT #34993]

(cherry picked from commit 0a47bc90af)
2013-11-11 10:50:25 +11:00
Evan Hunt
a66c88dd26 [v9_9] added isc_safe_memcmp()
3611.	[bug]		Improved resistance to a theoretical authentication
			attack based on differential timing.  [RT #33939]
(cherry picked from commit 5b7abbef51)
2013-07-09 12:03:18 -07:00
Mark Andrews
22c2ef8ead add <isc/util.h> 2013-02-27 16:15:00 +11:00
Mark Andrews
dac7bc0ef8 silence compiler warnings 2013-02-27 15:57:35 +11:00
Mark Andrews
a3864ce373 update copyrights 2013-02-27 12:35:09 +11:00
Mark Andrews
8c975f98ea 3500. [port] Support NAPTR regular expression validation on
all platforms.  [RT #32688]
2013-02-27 08:59:53 +11:00
Tinderbox User
cca5478e1f update copyright notice 2013-02-21 23:45:39 +00:00
Evan Hunt
1d737374e4 [v9_9] add zone memory context pools
3492.	[bug]		Fixed a regression in zone loading performance
			due to lock contention. [RT #30399]
(cherry picked from commit df925e6c66)
2013-02-20 21:40:25 -08:00
Tinderbox User
7d7b020635 update copyright notice 2013-02-05 23:45:38 +00:00
Mark Andrews
8600863d29 explict cast to (char *) from (void *) to silence compiler warning in %s checking 2013-02-05 14:25:12 +11:00
Tinderbox User
2f3c68c2c3 update copyright notice 2013-01-02 23:45:35 +00:00
Tinderbox User
7f6d740569 update copyright notice 2013-01-01 23:45:36 +00:00
Evan Hunt
2589af5868 [v9_9] silence coverity warnings
3401.	[bug]		Addressed Coverity warnings. [RT #31484]
(cherry picked from commit 47c5b8af92)
2012-10-23 22:12:15 -07:00
Mark Andrews
bf6acccf9d 3390. [bug] Silence clang compiler warnings. [RT #30417] 2012-10-06 13:21:18 +10:00
Mark Andrews
70cff4eef9 add missing extern qualiers 2012-09-17 18:38:59 +10:00
Tinderbox User
54385ec02f update copyright notice 2012-09-12 23:46:00 +00:00
ckb
c75ca48e73 3374. [bug] isc_parse_uint32 failed to return a range error on
systems with 64 bit longs [RT #30232]
2012-09-12 15:21:03 -05:00