Commit Graph
2845 Commits
Author SHA1 Message Date
Evan Hunt d446bbb815 migrate t_mem to lib/isc/tests/mem_test
(cherry picked from commit 979f054702)
(cherry picked from commit af48544b75)
(cherry picked from commit 814cd21e22)
(cherry picked from commit 7014d0994b)
2018-03-09 23:07:40 -08:00
Evan Hunt 00bc2c2355 migrate t_net to lib/isc/tests
(cherry picked from commit 05b7251d51)
(cherry picked from commit af0c9b2cee)
(cherry picked from commit faedafd2b4)
(cherry picked from commit 67b63a3e10)
2018-03-09 23:03:56 -08:00
Evan Hunt 6b970316c8 migrate t_sockaddr to lib/isc/tests
(cherry picked from commit 62f650078a)
(cherry picked from commit fadb93cf43)
(cherry picked from commit 323e2f7152)
(cherry picked from commit b392c18f6e)
2018-03-09 23:03:11 -08:00
Mark Andrews 7d459e36be update printf format to match type
(cherry picked from commit 48ca11df5f)
(cherry picked from commit 9a0373b896)
2018-02-26 10:58:11 +11:00
Mark Andrews 6d2ddd3c49 improve the conditional declaration and use of variable to silence cppcheck
(cherry picked from commit a04bb76973)
(cherry picked from commit 8e046acb50)
2018-02-26 10:58:09 +11:00
Mark Andrews e76df9d04f silence unread assignment warning by using POST macro
(cherry picked from commit e8249dcd49)
(cherry picked from commit cdb6c5c106)
2018-02-26 10:54:19 +11:00
Evan Hunt 7677cb277a final cleanup
- add CHANGES note
- update copyrights and license headers
2018-02-25 13:13:26 -08:00
Evan Hunt ae6c141f7b tidying up after backport
(cherry picked from commit 854f7846d8)
(cherry picked from commit 6653dcab3d)
2018-02-25 13:10:00 -08:00
Petr MenšíkandEvan Hunt 3727e6a944 unit/unittest.sh is generated by configure. It will always be
generated into builddir. If out-of-tree build is used, make unit
will always fail. Kyuafiles and testdata still have to be copied
manually into the builddir.

(cherry picked from commit 95cde3608a)
(cherry picked from commit 6d9b38e9fe)
(cherry picked from commit 6f2fd5ccca)
2018-02-23 15:51:50 -08:00
Mark Andrews 2670173c43 conditionally declare stacksize 2018-02-16 18:44:47 +11:00
Mark Andrews 810fdbe4e7 use %u instead of %d 2018-02-16 18:30:18 +11:00
Mark Andrews f6e83e4108 use %u instead of %d 2018-02-16 18:30:18 +11:00
Mark Andrews 9d061a7864 use %u instead of %d 2018-02-16 18:29:17 +11:00
Mark Andrews a6f0a302ea case to unsigned; reorder expression 2018-02-16 18:25:33 +11:00
Mark Andrews 13421f89a2 shift unsigned (~0U) rather than signed (~0) contant 2018-02-16 18:16:48 +11:00
Evan Hunt ff9f94f78a [v9_9] prep 9.9.12rc1 2018-02-15 11:20:01 -08:00
Tinderbox User af6854e060 update copyright notice / whitespace 2018-02-08 23:53:55 +00:00
Mark AndrewsandEvan Hunt e004a9a491 [v9_9] fix nsupdate test on windows
4888.	[test]		Initialize sockets correctly in sample-update so
			that nsupdate system test will will run on Windows.
			[RT #47097]

(cherry picked from commit 6757dc6488)
2018-02-08 13:36:44 -08:00
Evan Hunt 0712192947 [v9_9] update 9.11 api range 2018-01-24 10:24:48 -08:00
Evan Hunt 00947bf45d [v9_9] prep 9.9.12b1 2018-01-24 10:15:30 -08:00
Tinderbox User 8d5a01a868 update copyright notice / whitespace 2018-01-13 23:50:30 +00:00
Mukund Sivaraman 4f47e5fd63 Fix various bugs reported by valgrind --tool=memcheck (#46978)
(cherry picked from commit f96133826e)
(cherry picked from commit 0374e1c3fd)
(cherry picked from commit 929329d2d6)
(cherry picked from commit d072be0691)
2018-01-13 12:02:18 +05:30
Tinderbox User 536fe358af update copyright notice / whitespace 2018-01-09 23:49:31 +00:00
Mark Andrews 55c81d796c 4860. [bug] isc_int8_t should be signed char. [RT #46973]
(cherry picked from commit 21f708c88c)
2018-01-10 08:42:38 +11:00
Mark Andrews 455296d36a Revert "unconditionally typedef summarystat_t for coverity"
This reverts commit 59c2cad2f3.
2018-01-05 11:10:28 +11:00
Tinderbox User f3e5a44f00 update copyright notice / whitespace 2018-01-04 23:47:43 +00:00
Mark Andrews 59c2cad2f3 unconditionally typedef summarystat_t for coverity
(cherry picked from commit a0e66ef6dd)
2018-01-05 10:12:16 +11:00
Tinderbox User 3d87b339d1 update copyright notice / whitespace 2018-01-02 23:47:41 +00:00
Mark Andrews 4d16a4653d 4852. [bug] Add REQUIRE's and INSIST's to isc_time_formattimestamp,
isc_time_formathttptimestamp, isc_time_formatISO8601.
                        [RT #46892]
2018-01-02 10:49:43 +11:00
Tinderbox User 7aeee801e6 regen v9_9 2017-12-29 02:41:20 +00:00
Tinderbox User 92c1063230 update copyright notice / whitespace 2017-12-06 23:48:04 +00:00
Mark Andrews 7b34ba54c9 4841. [bug] Address -fsanitize=undefined warnings. [RT #46786]
(cherry picked from commit 9d5a0abe81)
(cherry picked from commit 58c86991ee)
2017-12-06 21:05:34 +11:00
Tinderbox User 03674299c7 update copyright notice / whitespace 2017-11-30 23:50:30 +00:00
Mark Andrews 5e94477563 4833. [bug] isc_event_free should check that the event is not
linked when called. [RT #46725]

4832.   [bug]           Events were not being removed from zone->rss_events.
                        [RT #46725]

(cherry picked from commit 9ddf7d6c4c)
2017-11-30 10:39:29 +11:00
Tinderbox User c49b27bc75 update copyright notice / whitespace 2017-11-28 23:48:09 +00:00
Mark Andrews 76cff0f786 4829. [bug] isc_heap_delete did not zero the index value when
the heap was created with a callback to do that.
                        [RT #46709]

(cherry picked from commit 65a483106e)
2017-11-28 19:04:56 +11:00
Tinderbox User 230916c184 update copyright notice / whitespace 2017-11-27 23:50:30 +00:00
Mark Andrews d42c4a628d More:
4819.   [bug]           Fully backout the transaction when adding a RRset
                        to the resigning / removal heaps fails. [RT #46473]

(cherry picked from commit 19f6a63184)
2017-11-27 15:23:16 +11:00
Mark Andrews d049bb62b8 add missing symbols 2017-11-27 15:04:33 +11:00
Mark Andrews 8572cac546 silence compiler warning [RT #46471] 2017-11-23 17:04:01 +11:00
Tinderbox User 709025bb14 update copyright notice / whitespace 2017-10-31 23:48:39 +00:00
Mark Andrews 3b9332a20d 4804. [port] win32: access() does not work on directories as
required by POSIX.  Supply a alternative in
                        isc_file_isdirwritable. [RT #46394]
2017-11-01 09:47:52 +11:00
Tinderbox User 2f5154f3b1 update copyright notice / whitespace 2017-10-19 23:49:30 +00:00
Mark Andrews 54eb949c35 s/REQUIRE/ISC_REQUIRE/; include <isc/assertions.h> if ISC_REQUIRE is used; include <isc/likely.h> if ISC_{UN}LIKELY is used
(cherry picked from commit 0fab171196)
2017-10-19 17:00:13 +11:00
Mark Andrews 40e08f66a8 4774. [bug] <isc/util.h> was incorrectly included in several
header files. [RT #46311]
2017-10-19 12:54:44 +11:00
Tinderbox User b17ca7e7f1 update copyright notice / whitespace 2017-10-17 23:53:44 +00:00
Michał Kępień eb2c3bdfae [v9_9] Doxygen fixes and cleanups
4773.	[doc]		Fixed generating Doxygen documentation for functions
			annotated using certain macros.  Miscellaneous
			Doxygen-related cleanups. [RT #46276]

(cherry picked from commit 5e6d28e1b7)
2017-10-17 08:13:40 +02:00
Evan Hunt 474caa0473 [v9_9] add missing names 2017-10-06 17:39:15 -07:00
Tinderbox User ab0f4f3a40 update copyright notice / whitespace 2017-10-06 23:48:57 +00:00
Evan Hunt 5cdb31e8df [v9_9] further restrict update-policy local
4762.	[func]		"update-policy local" is now restricted to updates
                from local addresses. (Previously, other addresses
                were allowed so long as updates were signed by the
                local session key.) [RT #45492]
2017-10-06 15:42:54 -07:00