Tinderbox User
3bbd725a2c
prep 9.11.4rc2
2018-06-28 05:07:42 +00:00
Witold Kręcicki
5e375f8b52
Use completely static-sized buffers
...
(cherry picked from commit 49f90025a0 )
(cherry picked from commit 4007a9d020 )
2018-06-26 15:23:28 -04:00
Witold Kręcicki
cd7bf90a54
Fix socket cmsg buffer usage
...
(cherry picked from commit d79be7dd5e )
(cherry picked from commit da63e95612 )
2018-06-26 15:23:28 -04:00
Evan Hunt
a1690b24bc
prepare 9.11.4rc1
2018-06-21 18:54:43 +02:00
Evan Hunt
b75a2b9730
improve readability of radix code
...
- use RADIX_V4, RADIX_V6, RADIX_V4_ECS, and RADIX_V6_ECS as array
indices instead of 0 through 3.
- remove some unused macros
(cherry picked from commit f7f20b1202 )
2018-06-08 12:11:19 -07:00
Mark Andrews
fed871b720
ISC_SOCKEVENTATTR_TRUNC was not be set
...
(cherry picked from commit 6bff1768cf )
2018-05-18 16:00:36 +10:00
Mark Andrews
4868351c45
look for '\0'
...
(cherry picked from commit d03a81c265 )
2018-05-18 12:45:14 +10:00
Mark Andrews
0256a07b96
add some %f format tests
...
(cherry picked from commit f5233ba5de )
2018-05-18 12:45:14 +10:00
Michał Kępień
803537b991
isc_buffer_*(): if source can be NULL, only call memmove() when length is non-zero
...
Certain isc_buffer_*() functions might call memmove() with the second
argument (source) set to NULL and the third argument (length) set to 0.
While harmless, it triggers an ubsan warning:
runtime error: null pointer passed as argument 2, which is declared to never be null
Modify all memmove() call sites in lib/isc/include/isc/buffer.h and
lib/isc/buffer.c which may potentially use NULL as the second argument
(source) so that memmove() is only called if the third argument (length)
is non-zero.
(cherry picked from commit 6ddbca6f2b )
2018-05-15 09:32:19 +02:00
Ondřej Surý
188526f41c
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
...
(cherry picked from commit 55a10b7acd )
2018-05-11 14:25:15 +02:00
Michał Kępień
b4f07af8df
Address GCC 8 -Wformat-truncation warnings
...
(cherry picked from commit 172d0c401e )
2018-05-10 10:54:38 +02:00
Ondřej Surý
358ef09a6e
Also test the higher part of the confidence interval
...
(cherry picked from commit 8d3220643c )
2018-05-03 15:05:20 +02:00
Mark Andrews
cdce9f752c
remove exit calls after FATAL_ERROR
...
(cherry picked from commit f8d2a46daa )
2018-04-20 18:47:39 -04:00
Mark Andrews
578714e8f1
use %u instead of %d for unsigned int arguments
...
(cherry picked from commit 49f8e9571c )
2018-04-20 18:47:39 -04:00
Ondřej Surý
cf5598156d
Sync isc_file_template functions between unix and win32, so they are same
...
(cherry picked from commit 8c99d104e3 )
2018-04-12 09:00:13 +02:00
Ondřej Surý
6f550b33bf
Cherry-pick changes to isc_file_template and associated unit test from v9_12 to v9_11
...
(cherry picked parts of commit 2dfb992349 )
2018-04-12 08:59:35 +02:00
Ondřej Surý
d69d5b96c1
Define PATH_MAX on Windows as _MAX_PATH, so we can use it everywhere
...
(cherry picked from commit 7467735258 )
2018-04-11 14:38:10 +02:00
Evan Hunt
09cf48603a
update file headers
2018-03-15 18:38:48 -07:00
Evan Hunt
14e22ddf8c
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:38 -07:00
Evan Hunt
8b205089b7
update file headers to remove copyright years
2018-03-14 16:40:20 -07:00
Ondřej Surý
413b7d4b24
Update whitespace
2018-03-14 12:45:03 +01:00
Evan Hunt
e98ec51b96
Fix compiler warnings and test failures when building without threads
...
(cherry picked from commit 56353aaf42 )
2018-03-10 10:37:20 -08:00
Evan Hunt
8da54db729
Merge branch 'clean-bin-tests' into 'v9_11'
...
clean up bin/tests, convert unit tests to ATF
Closes #115
See merge request isc-projects/bind9!93
2018-03-09 16:47:51 -08:00
Evan Hunt
442c1530a3
final cleanup
...
- update Kyuafiles to match Atffiles
- copyrights
- CHANGES note
(cherry picked from commit 86e00cbb71 )
(cherry picked from commit 80834b5b90 )
2018-03-09 16:17:56 -08:00
Evan Hunt
64ea21a0e5
shorten ht_test and random_test
...
(cherry picked from commit 9b753aa154 )
(cherry picked from commit 289836a066 )
2018-03-09 15:47:21 -08:00
Evan Hunt
38f9cddcad
migrate t_tasks to lib/isc/tests/task_test
...
(cherry picked from commit c6c1e99252 )
(cherry picked from commit 88bfe56876 )
2018-03-09 15:38:53 -08:00
Evan Hunt
274ee0b425
migrate t_timers to lib/isc/tests/timer_test
...
(cherry picked from commit e2b8699df9 )
(cherry picked from commit efccdad0ea )
2018-03-09 15:37:03 -08:00
Evan Hunt
492e19d6ec
migrate t_atomic to lib/isc/tests/atomic_test
...
(cherry picked from commit 874e2fc70c )
(cherry picked from commit c7fa56e8db )
2018-03-09 15:35:09 -08:00
Evan Hunt
814cd21e22
migrate t_mem to lib/isc/tests/mem_test
...
(cherry picked from commit 979f054702 )
(cherry picked from commit af48544b75 )
2018-03-09 15:34:31 -08:00
Evan Hunt
faedafd2b4
migrate t_net to lib/isc/tests
...
(cherry picked from commit 05b7251d51 )
(cherry picked from commit af0c9b2cee )
2018-03-09 15:33:48 -08:00
Evan Hunt
323e2f7152
migrate t_sockaddr to lib/isc/tests
...
(cherry picked from commit 62f650078a )
(cherry picked from commit fadb93cf43 )
2018-03-09 15:33:01 -08:00
Mark Andrews
bf79ae278c
update printf format to match type
...
(cherry picked from commit 48ca11df5f )
2018-02-26 10:40:11 +11:00
Mark Andrews
4d8e501abe
improve the conditional declaration and use of variable to silence cppcheck
...
(cherry picked from commit a04bb76973 )
2018-02-26 10:40:11 +11:00
Mark Andrews
ae50b73d78
remove deadcode
...
(cherry picked from commit b71a1386ed )
2018-02-26 10:40:10 +11:00
Mark Andrews
ded99ca751
silence unread assignment warning by using POST macro
...
(cherry picked from commit e8249dcd49 )
2018-02-26 10:40:10 +11:00
Petr Menšík
6d9b38e9fe
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 )
2018-02-23 15:50:33 -08:00
Mark Andrews
65cfe7e1ad
conditionally declare stacksize
2018-02-16 15:08:24 +11:00
Mark Andrews
54672c31b9
use %u instead of %d
2018-02-16 14:54:36 +11:00
Mark Andrews
262d514345
use %u instead of %d
2018-02-16 14:54:36 +11:00
Mark Andrews
8c51ba3aac
use %u instead of %d
2018-02-16 14:54:36 +11:00
Mark Andrews
8dba09602b
case to unsigned; reorder expression
2018-02-16 14:52:51 +11:00
Mark Andrews
ab0805b73e
shift unsigned (~0U) rather than signed (~0) contant
2018-02-16 14:35:36 +11:00
Evan Hunt
d77cb075aa
[v9_11] prep 9.11.3rc1
2018-02-15 11:16:15 -08:00
Tinderbox User
83545641dd
update copyright notice / whitespace
2018-02-08 23:48:55 +00:00
Mark Andrews
701a93f5a5
[v9_11] 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:35:43 -08:00
Tinderbox User
9b63f75476
update copyright notice / whitespace
2018-02-01 23:49:05 +00:00
Michał Kępień
40aa5cab12
[v9_11] Silence compiler warnings about comparisons between signed and unsigned integers [RT #46980 ]
...
(cherry picked from commit a3c2b8831e )
2018-02-01 21:29:17 +01:00
Mark Andrews
5bcd0fe019
copyrights
2018-01-25 16:47:34 +11:00
Mark Andrews
31c7ab4fb3
4811. [bug] Revert api changes to use <isc/buffer.h> inline
...
macros. Provide a alternative mechanism to turn
on the use of inline macros when building BIND.
[RT #46520 ]
(cherry picked from commit a1a5145867 )
2018-01-25 16:42:37 +11:00
Evan Hunt
a48e2d4155
[v9_11] update 9.11 api range
2018-01-24 10:24:17 -08:00