Tinderbox User
bbf35634c0
prep 9.12.2rc2
2018-06-28 04:42:37 +00:00
Witold Kręcicki
4007a9d020
Use completely static-sized buffers
...
(cherry picked from commit 49f90025a0 )
2018-06-26 20:18:59 +02:00
Witold Kręcicki
da63e95612
Fix socket cmsg buffer usage
...
(cherry picked from commit d79be7dd5e )
2018-06-26 20:12:58 +02:00
Evan Hunt
87344e3493
prepare 9.12.1rc1
2018-06-21 18:46:32 +02:00
Evan Hunt
f7f20b1202
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
2018-06-08 11:55:53 -07:00
Mark Andrews
24bb79f9fc
ISC_SOCKEVENTATTR_TRUNC was not be set
...
(cherry picked from commit 6bff1768cf )
2018-05-18 15:59:14 +10:00
Mark Andrews
d03a81c265
look for '\0'
2018-05-18 12:17:31 +10:00
Mark Andrews
f5233ba5de
add some %f format tests
2018-05-18 12:17:31 +10:00
Michał Kępień
18824a084b
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:28:17 +02:00
Ondřej Surý
c35de9b383
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
...
(cherry picked from commit 55a10b7acd )
2018-05-11 14:19:35 +02:00
Mark Andrews
438395086c
silence cppcheck portability warning
...
(cherry picked from commit 6aae115d15 )
2018-05-11 08:30:13 +02:00
Mukund Sivaraman
224244227c
Don't keep around debuglist structs when done
...
(cherry picked from commit 3adcc033f6 )
2018-05-11 11:29:58 +10:00
Mukund Sivaraman
36277f7a63
Reduce number of buckets in tracklines debuglink table
...
With 1044 res contexts, each with 65536 debuglink structs of 16 bytes
each, the debuglink table itself was consuming 1GB+ of memory.
(cherry picked from commit b9886abd86 )
2018-05-11 11:29:58 +10:00
Michał Kępień
6e26fab6b8
Address GCC 8 -Wformat-truncation warnings
...
(cherry picked from commit 172d0c401e )
2018-05-10 10:52:00 +02:00
Ondřej Surý
36efa304e6
Also test the higher part of the confidence interval
...
(cherry picked from commit 8d3220643c )
2018-05-03 15:04:15 +02:00
Mark Andrews
77643775c5
remove exit calls after FATAL_ERROR
...
(cherry picked from commit f8d2a46daa )
2018-04-20 15:13:12 -07:00
Mark Andrews
ba238ab374
use %u instead of %d for unsigned int arguments
...
(cherry picked from commit 49f8e9571c )
2018-04-20 15:13:12 -07:00
Ondřej Surý
6171037403
Sync isc_file_template functions between unix and win32, so they are same
...
(cherry picked from commit 8c99d104e3 )
2018-04-12 08:47:11 +02:00
Ondřej Surý
e052e7f427
Define PATH_MAX on Windows as _MAX_PATH, so we can use it everywhere
...
(cherry picked from commit 7467735258 )
2018-04-11 14:37:46 +02:00
Evan Hunt
19b5249028
update file headers
2018-03-15 18:40:21 -07:00
Evan Hunt
a61afa750f
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:33 -07:00
Ondřej Surý
661364c8cf
Fix whitespace
2018-03-15 00:14:23 +01:00
Evan Hunt
09fade72a0
Fix compiler warnings and test failures when building without threads
...
(cherry picked from commit 56353aaf42 )
2018-03-10 10:37:12 -08:00
Evan Hunt
07e2e20868
add missing includes
...
(cherry picked from commit a173c9c18f )
2018-03-09 16:55:56 -08:00
Evan Hunt
80834b5b90
final cleanup
...
- update Kyuafiles to match Atffiles
- copyrights
- CHANGES note
(cherry picked from commit 86e00cbb71 )
2018-03-09 14:40:12 -08:00
Evan Hunt
289836a066
shorten ht_test and random_test
...
(cherry picked from commit 9b753aa154 )
2018-03-09 14:39:56 -08:00
Evan Hunt
88bfe56876
migrate t_tasks to lib/isc/tests/task_test
...
(cherry picked from commit c6c1e99252 )
2018-03-09 14:39:56 -08:00
Evan Hunt
efccdad0ea
migrate t_timers to lib/isc/tests/timer_test
...
(cherry picked from commit e2b8699df9 )
2018-03-09 14:39:56 -08:00
Evan Hunt
c7fa56e8db
migrate t_atomic to lib/isc/tests/atomic_test
...
(cherry picked from commit 874e2fc70c )
2018-03-09 14:39:55 -08:00
Evan Hunt
af48544b75
migrate t_mem to lib/isc/tests/mem_test
...
(cherry picked from commit 979f054702 )
2018-03-09 14:39:55 -08:00
Evan Hunt
af0c9b2cee
migrate t_net to lib/isc/tests
...
(cherry picked from commit 05b7251d51 )
2018-03-09 14:39:55 -08:00
Evan Hunt
fadb93cf43
migrate t_sockaddr to lib/isc/tests
...
(cherry picked from commit 62f650078a )
2018-03-09 14:39:55 -08:00
Mark Andrews
a29f564e1f
update printf format to match type
...
(cherry picked from commit 48ca11df5f )
2018-02-26 10:39:44 +11:00
Mark Andrews
7adbccfb6d
improve the conditional declaration and use of variable to silence cppcheck
...
(cherry picked from commit a04bb76973 )
2018-02-26 10:39:44 +11:00
Mark Andrews
a7c51e8c79
remove deadcode
...
(cherry picked from commit b71a1386ed )
2018-02-26 10:39:44 +11:00
Mark Andrews
c5b7bdf0cb
silence unread assignment warning by using POST macro
...
(cherry picked from commit e8249dcd49 )
2018-02-26 10:39:44 +11:00
Petr Menšík
eb5c7e91fa
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:45:19 -08:00
Ondřej Surý
557a5c3f78
Update license headers to not include years in copyright in all applicable files
...
(cherry picked from commit 843d389661 )
2018-02-23 10:38:02 +01:00
Evan Hunt
5254978eec
[v9_12] re-prep 9.12.1rc1 to include needed fixes; update README
2018-02-17 19:54:52 -08:00
Mark Andrews
736cbc97d7
conditionally declare stacksize
2018-02-16 14:08:26 +11:00
Mark Andrews
5a21fe753d
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
1e943e3f3a
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
ade6a20c56
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
cf063314f2
use %u instead of %d
2018-02-16 14:08:26 +11:00
Mark Andrews
bf74665d5c
case to unsigned; reorder expression
2018-02-16 14:08:26 +11:00
Mark Andrews
1bca37c8e1
shift unsigned (~0U) rather than signed (~0) contant
2018-02-16 14:08:26 +11:00
Evan Hunt
988f5de10a
[v9_12] prep 9.12.1b1
2018-02-08 13:47:56 -08:00
Evan Hunt
8fb952e6ab
[v9_12] copyrights
2018-02-08 13:40:50 -08:00
Mark Andrews
e79cb31fdf
[v9_12] 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:11 -08:00
Tinderbox User
042b8c6f08
update copyright notice / whitespace
2018-02-01 23:47:39 +00:00