Commit Graph
2973 Commits
Author SHA1 Message Date
Mark Andrews 4a73559364 ISC_SOCKEVENTATTR_TRUNC was not be set
(cherry picked from commit 6bff1768cf)
2018-05-18 16:02:04 +10:00
Mark Andrews a0cfa7da7c look for '\0'
(cherry picked from commit d03a81c265)
2018-05-18 12:46:52 +10:00
Mark Andrews 13494a5a20 add some %f format tests
(cherry picked from commit f5233ba5de)
2018-05-18 12:46:52 +10:00
Evan Hunt 2b22c3bd4f add an 'untested' case when none of the atomic operations are available
- this fixes a build failure introduced in change 4913 when
  compiling with ATF and --disable-atomic

(cherry picked from commit 1b3eac926e)
2018-03-15 12:09:40 -07:00
Evan Hunt 7044b67b67 update file headers to remove copyright years 2018-03-14 21:12:08 -07:00
Ondřej Surý 1cdcae1183 Fix whitespaces 2018-03-14 12:44:08 +01:00
Evan Hunt 8188d164a3 Fix compiler warnings and test failures when building without threads
(cherry picked from commit 56353aaf42)
2018-03-10 10:37:22 -08:00
Evan Hunt 6fe8188cc3 final cleanup
- update Kyuafiles to match Atffiles
- copyrights
- CHANGES note

(cherry picked from commit 86e00cbb71)
(cherry picked from commit 80834b5b90)
(cherry picked from commit 442c1530a3)
2018-03-09 19:31:04 -08:00
Evan Hunt 430d35e332 migrate t_tasks to lib/isc/tests/task_test
(cherry picked from commit c6c1e99252)
(cherry picked from commit 88bfe56876)
(cherry picked from commit 38f9cddcad)
2018-03-09 18:42:57 -08:00
Evan Hunt 5b477b2aa4 migrate t_timers to lib/isc/tests/timer_test
(cherry picked from commit e2b8699df9)
(cherry picked from commit efccdad0ea)
(cherry picked from commit 274ee0b425)
2018-03-09 18:40:05 -08:00
Evan Hunt 1200d6f072 migrate t_atomic to lib/isc/tests/atomic_test
(cherry picked from commit 874e2fc70c)
(cherry picked from commit c7fa56e8db)
(cherry picked from commit 492e19d6ec)
2018-03-09 18:38:09 -08:00
Evan Hunt 7014d0994b migrate t_mem to lib/isc/tests/mem_test
(cherry picked from commit 979f054702)
(cherry picked from commit af48544b75)
(cherry picked from commit 814cd21e22)
2018-03-09 18:34:51 -08:00
Evan Hunt 67b63a3e10 migrate t_net to lib/isc/tests
(cherry picked from commit 05b7251d51)
(cherry picked from commit af0c9b2cee)
(cherry picked from commit faedafd2b4)
2018-03-09 18:34:04 -08:00
Evan Hunt b392c18f6e migrate t_sockaddr to lib/isc/tests
(cherry picked from commit 62f650078a)
(cherry picked from commit fadb93cf43)
(cherry picked from commit 323e2f7152)
2018-03-09 18:33:11 -08:00
Mark Andrews 9a0373b896 update printf format to match type
(cherry picked from commit 48ca11df5f)
2018-02-26 10:48:19 +11:00
Mark Andrews 8e046acb50 improve the conditional declaration and use of variable to silence cppcheck
(cherry picked from commit a04bb76973)
2018-02-26 10:48:18 +11:00
Mark Andrews cdb6c5c106 silence unread assignment warning by using POST macro
(cherry picked from commit e8249dcd49)
2018-02-26 10:47:57 +11:00
Evan Hunt 90ae2fce20 final cleanup
- add CHANGES note
- update copyrights and license headers
2018-02-25 01:04:16 -08:00
Petr MenšíkandEvan Hunt 6f2fd5ccca 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)
2018-02-23 15:51:16 -08:00
Mark Andrews 3922e41963 conditionally declare stacksize 2018-02-16 17:32:35 +11:00
Mark Andrews dd27ab1f00 use %u instead of %d 2018-02-16 17:08:36 +11:00
Mark Andrews 50f978042e use %u instead of %d 2018-02-16 17:08:36 +11:00
Mark Andrews a33e639d26 use %u instead of %d 2018-02-16 17:07:16 +11:00
Mark Andrews cb29c18cfe case to unsigned; reorder expression 2018-02-16 17:05:11 +11:00
Mark Andrews 0e7eb72847 shift unsigned (~0U) rather than signed (~0) contant 2018-02-16 16:48:53 +11:00
Evan Hunt 9d07b052b0 [v9_10] prep 9.10.7rc2 2018-02-15 11:17:40 -08:00
Tinderbox User 5a60dabcd6 update copyright notice / whitespace 2018-02-08 23:51:13 +00:00
Mark AndrewsandEvan Hunt 9ccc205645 [v9_10] 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)
(cherry picked from commit 701a93f5a5)
2018-02-08 13:36:01 -08:00
Evan Hunt b058c0fefb [v9_10] update 9.11 api range 2018-01-24 10:24:34 -08:00
Evan Hunt 9109dccd02 [v9_10] prep 9.10.7b1 2018-01-24 10:15:05 -08:00
Tinderbox User 1e10f17589 update copyright notice / whitespace 2018-01-17 23:47:52 +00:00
Francis Dupont a279dace6b bcmp -> memcmp 2018-01-17 15:33:11 +01:00
Francis Dupont 3c8b6e234c Merged rt46864 (check MD5 amd SHA1 support) 2018-01-17 14:48:01 +01:00
Tinderbox User b5c5aed2e1 update copyright notice / whitespace 2018-01-13 23:48:59 +00:00
Mukund Sivaraman d072be0691 Fix various bugs reported by valgrind --tool=memcheck (#46978)
(cherry picked from commit f96133826e)
(cherry picked from commit 0374e1c3fd)
(cherry picked from commit 929329d2d6)
2018-01-13 11:52:17 +05:30
Tinderbox User 65eb1cc79f update copyright notice / whitespace 2018-01-09 23:48:12 +00:00
Mark Andrews 7255d990c0 4861. [bug] The isc_crc64 unit test was not endian independent.
[RT #46973]

(cherry picked from commit 0ce212b9f5)
2018-01-10 09:47:03 +11:00
Mark Andrews c58a814940 4860. [bug] isc_int8_t should be signed char. [RT #46973]
(cherry picked from commit 21f708c88c)
2018-01-10 08:42:33 +11:00
Tinderbox User 0df4e44735 update copyright notice / whitespace 2018-01-04 23:46:47 +00:00
Mark Andrews 9e9bdd1e4a unconditionally typedef summarystat_t for coverity
(cherry picked from commit a0e66ef6dd)
2018-01-05 10:11:27 +11:00
Tinderbox User 478c771590 update copyright notice / whitespace 2018-01-02 23:46:49 +00:00
Mark Andrews 743bb3b02b 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:09 +11:00
Tinderbox User fc5764662b regen v9_10 2017-12-29 02:29:40 +00:00
Tinderbox User 4724ccdf11 update copyright notice / whitespace 2017-12-06 23:46:58 +00:00
Mark Andrews 58c86991ee 4841. [bug] Address -fsanitize=undefined warnings. [RT #46786]
(cherry picked from commit 9d5a0abe81)
2017-12-06 21:05:18 +11:00
Tinderbox User 3beaa67016 update copyright notice / whitespace 2017-11-30 23:48:18 +00:00
Mark Andrews d2bd6061ee 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:02 +11:00
Tinderbox User 4c40d4ca56 update copyright notice / whitespace 2017-11-28 23:47:03 +00:00
Mark Andrews bcaca54fcc 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 18:57:03 +11:00
Tinderbox User 796d7d08c0 update copyright notice / whitespace 2017-11-27 23:48:26 +00:00