Commit Graph
25474 Commits
Author SHA1 Message Date
Evan Hunt 61121be596 silence warnings about unnecessary comparisons
- these are cases where result has been explicitly set, so
  if (result != ISC_R_SUCCESS) is unnecessary

(cherry picked from commit e00eb55cd2)
(cherry picked from commit 0dcff8f93c)
2018-04-22 12:58:36 -07:00
Evan Hunt bda3ea150f add header guards in files that were missing them
(cherry picked from commit 4247477b61)
(cherry picked from commit 7f61e9d50e)
2018-04-22 12:58:36 -07:00
Evan Hunt e5670b1627 add header guard when generating bind.keys.h
(cherry picked from commit bfbe6925df)
(cherry picked from commit f7755696a5)
2018-04-22 12:58:36 -07:00
Evan Hunt 843f19ee7f change "key" to "tsigkey" to silence "short global name" warning
(cherry picked from commit 0cc7aa250e)
(cherry picked from commit 9d99bf0f4b)
2018-04-22 12:58:36 -07:00
Evan Hunt 2f5ec44952 fix shadowed global variables
(cherry picked from commit 9ca3ab1168)
(cherry picked from commit 694a1486ca)
2018-04-22 12:58:36 -07:00
Evan Hunt 03e2d9d6de fix duplicate include guard in dnsconf.h
- IMHO we should consider removing dnsconf.c and deprecating the
  /etc/dns.conf file, though, as I don't think it's likely anyone
  is using it

(cherry picked from commit a08ba418ef)
(cherry picked from commit b9db91aa64)
2018-04-22 12:58:35 -07:00
Evan Hunt 5920350ef1 Merge branch '193-fix-variable-definitions-in-bin-tests-Makefile.in-v9_10' into 'v9_10'
Fix variable definitions in bin/tests/Makefile.in

Closes #193

See merge request isc-projects/bind9!183
2018-04-10 20:04:48 -07:00
Evan Hunt 3e67bc0048 Alter distclean rule to prevent recursing into the same directory twice
Commit f87e0c03ee removed the "system" directory from the TESTDIRS
variable in bin/tests/Makefile.in in an attempt to fix "make distclean"
which was broken since commit 0d784de16a.  However, this change
prevented any system tests from being run when "make test" is invoked.

We now put it back into both SUBDIRS and TESTDIRS, but with a modified
rule to check for the existence of a Makefile in each subdirectory before
trying to run make there. This prevents "make distclean" from trying to
run again in a directory where it's already been run.

(cherry picked from commit 93ee6b8a22)
2018-04-10 20:04:48 -07:00
Michał KępieńandEvan Hunt 01d45c1ebb Fail CI pipeline when "make test" does not run any system tests
Apart from ensuring "make test" returns 0, also check whether any system
test output was generated as a result of running it.  This prevents the
CI job running system tests from succeeding unless it actually tests
something.

(cherry picked from commit 80ab2c0f22)
2018-04-10 20:04:47 -07:00
Mark Andrews d039a7db5f Merge branch 'ssl-double-free-v9_10' into 'v9_10'
Fix double free after keygen error in dnssec-keygen

Closes #109

See merge request isc-projects/bind9!70
2018-04-06 14:27:00 +10:00
Ondřej SurýandMark Andrews 1606680016 Add CHANGES entry
(cherry picked from commit ef2b2a6c92)
2018-04-06 14:26:47 +10:00
Ondřej SurýandMark Andrews d416af9b15 A couple of more cleanups after free in opensslrsa_generate()
(cherry picked from commit d2b3188c61)
2018-04-06 14:26:04 +10:00
Petr MensikandMark Andrews 5a13cc651c Do not assign NULL conditionally in OpenSSL < 1.1, make it always explicit.
(cherry picked from commit edaafacf36)
2018-04-06 14:26:04 +10:00
Petr MensikandMark Andrews 05bed6173b Fix double free on RSA_generate_key_ex failure
(cherry picked from commit 01cc622e7b)
2018-04-06 14:26:03 +10:00
Mark Andrews 15fd756139 system should only be in SUBDIRS
(cherry picked from commit 342e146fe3)
2018-04-06 13:26:11 +10:00
Mark Andrews c8a8645f96 Merge branch '167-coverity-dereferencing-a-null-pointer-in-lib-dns-tests-rbt_test-c-v9_10' into 'v9_10'
Resolve "coverity: Dereferencing a null pointer in lib/dns/tests/rbt_test.c"

Closes #167

See merge request isc-projects/bind9!150
2018-03-20 09:55:50 +11:00
Mukund SivaramanandMark Andrews b6e2633ca8 Check return value of isc_mem_get()
(cherry picked from commit de3a4af1bf)
2018-03-20 09:55:50 +11:00
Mark Andrews b283e8d04e fix temporary file name to have subtest number
(cherry picked from commit e12453f43c88bac722fb511b62f12303735b788c)
2018-03-19 23:12:26 +11:00
Mark Andrews f69fd9911a synchronise test descriptions with master 2018-03-19 23:01:55 +11:00
Mark Andrews 5f349f3f5d Merge branch 'fixtypo-v9_10' into 'v9_10'
fix typo

See merge request isc-projects/bind9!148
2018-03-19 22:57:21 +11:00
Mark Andrews 0b2826e996 fix typo
(cherry picked from commit 6e4b5f2345)
2018-03-19 22:57:21 +11:00
Mark Andrews 1a6526c29a Merge branch '166-statistics-system-test-numbering-is-bad-v9_10' into 'v9_10'
Resolve "statistics system test numbering is bad"

Closes #166

See merge request isc-projects/bind9!146
2018-03-19 20:37:05 +11:00
Mark Andrews 3e02dc4462 fix numbering of tests and make consistent
(cherry picked from commit dd5dff3096)
2018-03-19 20:36:08 +11:00
Ondřej SurýandMark Andrews a558614ee1 Update libtool files to 2.4.6
(cherry picked from commit fe06778be7)
2018-03-19 13:01:23 +11:00
Ondřej Surý 7fe8cab10d Merge branch '164-remove-openssl-warning-v9_10' into 'v9_10'
[v9_10] Remove useless OpenSSL warning from configure script

See merge request isc-projects/bind9!142
2018-03-17 10:50:19 -04:00
Ondřej Surý 1ff0c8d21e Remove obsolete OpenSSL version check
(cherry picked from commit e9571d29af)
2018-03-17 14:35:04 +00:00
Evan Hunt d3927f276e Merge branch 'copyrights' into v9_10 2018-03-15 18:50:01 -07:00
Evan Hunt 89d3cfb4e8 update file headers 2018-03-15 18:49:47 -07:00
Evan Hunt c8fd19059d ensure COPYRIGHT file retains years; edit file headers for consistency 2018-03-15 18:48:46 -07:00
Evan Hunt ef0f309c96 Merge branch '157-cleanup-win-libtests-v9_10' into 'v9_10'
Resolve "Windows build fails"

Closes #157

See merge request isc-projects/bind9!131
2018-03-15 13:47:23 -07:00
Evan Hunt 6a31f097ba remove references to lib/tests in the windows build
(cherry picked from commit e2bb9824f8)
2018-03-15 13:47:23 -07:00
Evan Hunt 1d6c79af6e Merge branch '154-fix-atomic-test-v9_10' into 'v9_10'
Resolve "Build failure on OSX with --disable-atomic --enable-developer"

Closes #154

See merge request isc-projects/bind9!130
2018-03-15 12:09:40 -07: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 0f0d279c55 Merge branch 'fix-copyrights' into v9_10 2018-03-14 21:13:06 -07:00
Evan Hunt 7044b67b67 update file headers to remove copyright years 2018-03-14 21:12:08 -07:00
Evan Hunt 083519b1e5 Update scripts in util/ to drop the year information from the individual source files. 2018-03-14 21:07:58 -07:00
Evan Hunt 9853cc49ab Merge branch 'fix-relnotes-v910' into v9_10 2018-03-14 15:00:54 -07:00
Evan Hunt 934414d77d Update EoL information 2018-03-14 14:57:38 -07:00
Evan Hunt f9749be395 Merge branch 'branchsync' into 'v9_10'
update branchsync to deal with merge commits

See merge request isc-projects/bind9!127
2018-03-14 14:43:10 -07:00
Evan Hunt 03e9c1d461 updated branchsync to deal with merge commits
(cherry picked from commit fccf8ca2f6)
2018-03-14 14:42:24 -07:00
Ondřej Surý 1cdcae1183 Fix whitespaces 2018-03-14 12:44:08 +01:00
Ondřej Surý b3f9d5535c Update copyrights 2018-03-14 12:43:59 +01:00
Ondřej Surý a13586af5d [v9_10] Enable GitLab CI
(cherry picked from commit 5b7393ab588aee8dc64adb194f38eab6818aaa10)
(cherry picked from commit a14d0362df)
2018-03-14 12:40:05 +01:00
Evan Hunt 4b20f91332 Merge branch 'clean-xfer' into 'v9_10'
clean up dig.out files that were left behind after xfer test

See merge request isc-projects/bind9!120
2018-03-10 13:15:28 -08:00
Evan Hunt 806c0cbe9a clean up dig.out files that were left behind after xfer test
(cherry picked from commit 733086cc67)
2018-03-10 13:15:19 -08:00
Evan Hunt 6a983d56b3 Merge branch 'nothreads-fix' into 'v9_10'
Fix compiler warnings and test failures when building without threads

See merge request isc-projects/bind9!119
2018-03-10 10:37:48 -08: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 56fcddbb86 Merge branch 'clean-bin-tests-v9_10' into 'v9_10'
clean up bin/tests, convert unit tests to ATF

Closes #115

See merge request isc-projects/bind9!93
2018-03-09 22:49:58 -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 544bb12a01 reduce race risk in parallel builds
(cherry picked from commit 74347f4a55)
(cherry picked from commit 7f4e62d902)
(cherry picked from commit ade4face27)
2018-03-09 18:49:48 -08:00