Michał Kępień
6c09f305ae
Remove duplicate irs_resconf_load() unit test
...
The "sortlist-v4.conf" unit test for irs_resconf_load() is always run
twice due to a duplicate entry in the "tests" table. Remove one of them
to prevent this.
2018-03-06 08:27:45 +01:00
Michał Kępień
1f400b68a8
Do not ignore resolv.conf syntax errors
...
irs_resconf_load() stores the value returned by add_search() into ret
without consulting its current value first. This causes any previous
errors raised while parsing resolv.conf to be ignored as long as any
"domain" or "search" statement is present in the file.
Prevent this by returning early in case an error is detected while
parsing resolv.conf. Ensure that "searchlist" and "magic" members of
the created irs_resconf_t structure are always initialized before
isc_resconf_destroy() is called.
2018-03-06 08:27:45 +01:00
Evan Hunt
3c028ed07d
Merge branch 'kyua-oot' into 'master'
...
chg: dev: Unit tests were broken in out-of-tree builds.
See merge request isc-projects/bind9!57
2018-02-23 18:22:59 -05:00
Ondřej Surý
a11e23b5ed
Replace all usage of inet_aton() with inet_pton()
2018-02-23 13:57:10 +01:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Petr Menšík
95cde3608a
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.
2018-02-22 15:32:16 +01:00
Evan Hunt
7dd2d7f329
[master] update 9.11 api range
2018-01-24 10:22:59 -08:00
Tinderbox User
903662d5c3
regen master
2017-12-29 01:44:18 +00:00
Tinderbox User
015c017dfa
regen master
2017-12-29 01:04:39 +00:00
Evan Hunt
8d23105547
[master] prep 9.12.0b2
2017-11-02 11:50:07 -07:00
Mark Andrews
0698ad8503
don't use the ERR macro as GCC 7 only does a partial static analysis which generates false positives for fallthrough. [RT #46115 ]
2017-11-01 19:11:48 +11:00
Evan Hunt
99ab7127e1
[master] prep 9.12.0b1
2017-10-11 21:10:49 -07:00
Mark Andrews
5df3f839b2
4766. [cleanup] Addresss Coverity warnings. [RT #46150 ]
...
4765. [bug] Address potential INSIST in dnssec-cds. [RT #46150 ]
2017-10-09 18:34:31 +11:00
Mark Andrews
08151d7fce
4737. [cleanup] Address Coverity warnings. [RT #46012 ]
2017-09-26 23:21:49 +10:00
Mark Andrews
d17cf1cade
explicitly list test programs
2017-09-21 12:56:33 +10:00
Mark Andrews
cb629cdeda
more str{n}{cat,cpy} corrections rt45981_stage2
2017-09-14 18:11:56 +10:00
Tinderbox User
33987cb5fd
update copyright notice / whitespace
2017-09-13 23:48:32 +00:00
Mukund Sivaraman
188fa6ea68
Add missing <isc/print.h>
2017-09-13 19:44:47 +05:30
Evan Hunt
114f95089c
[master] cleanup strcat/strcpy
...
4722. [cleanup] Clean up uses of strcpy() and strcat() in favor of
strlcpy() and strlcat() for safety. [RT #45981 ]
2017-09-13 00:14:37 -07:00
Evan Hunt
0c9683cff8
[master] prep 9.12.0a1
2017-09-11 17:30:39 -07:00
Evan Hunt
7fb611d331
[master] fix prototypes
2017-09-11 15:48:20 -07:00
Evan Hunt
b103b0c011
[master] remap getaddrinfo() to irs_getgetaddrinfo()
...
The libirs version of getaddrinfo() cannot be called from within BIND9.
2017-09-11 15:03:57 -07:00
Francis Dupont
90f6140832
Finished merge of rt45019 (openssl hash default)
2017-09-09 10:30:16 +02:00
Evan Hunt
8eb88aafee
[master] add libns and remove liblwres
...
4708. [cleanup] Legacy Windows builds (i.e. for XP and earlier)
are no longer supported. [RT #45186 ]
4707. [func] The lightweight resolver daemon and library (lwresd
and liblwres) have been removed. [RT #45186 ]
4706. [func] Code implementing name server query processing has
been moved from bin/named to a new library "libns".
Functions remaining in bin/named are now prefixed
with "named_" rather than "ns_". This will make it
easier to write unit tests for name server code, or
link name server functionality into new tools.
[RT #45186 ]
2017-09-08 13:47:34 -07:00
Evan Hunt
509ba96497
[rt45019] separate DNS_CRYPTO_LIBS from ISC_OPENSSL_LIBS and use both
2017-09-07 22:05:20 -07:00
Mark Andrews
124712666e
4653. [bug] Reorder includes to move @DST_OPENSSL_INC@ and
...
@ISC_OPENSSL_INC@ after shipped include directories.
[RT #45581 ]
2017-07-20 11:52:03 +10:00
Evan Hunt
4aafa833ec
[master] update api ranges
2017-07-16 13:56:30 -07:00
Evan Hunt
2fe77b611a
[master] fix API ranges (170-179 was used for two branches)
2017-06-27 12:18:33 -07:00
Tinderbox User
1f1c7c3b0a
update copyright notice / whitespace
2017-05-01 23:45:34 +00:00
Mark Andrews
b09eb48f8a
4612. [bug] Silence 'may be use uninitalised' warning and simplify
...
the code in lwres/getaddinfo:process_answer.
[RT #45158 ]
2017-05-02 09:23:49 +10:00
Tinderbox User
18b7760b29
update copyright notice / whitespace
2017-04-24 23:45:33 +00:00
Evan Hunt
67e1f8fa4e
[master] allow parralel make
...
4609. [cleanup] Rearrange makefiles to enable parallel execution
(i.e. "make -j"). [RT #45078 ]
2017-04-23 23:04:25 -07:00
Mark Andrews
3742338a7b
4585. [port] win32: Set CompileAS value. [RT #42474 ]
2017-04-20 12:41:40 +10:00
Tinderbox User
a1d1a967da
update copyright notice / whitespace
2017-04-17 23:45:35 +00:00
Evan Hunt
28cff4f924
[master] fix out of tree build error
2017-04-17 14:31:44 -07:00
Evan Hunt
6087f87afb
[master] make uninstall
...
4503. [cleanup] "make uninstall" now removes file installed by
BIND. (This currently excludes Python files
due to lack of support in setup.py.) [RT #42912 ]
2016-11-01 19:17:07 -07:00
Mark Andrews
49e94dc8d4
update copyrights
2016-10-28 11:27:49 +11:00
Mark Andrews
55b78fff62
4492. [bug] irs_resconf_load failed to initialise sortlistnxt
...
causing bad writes if resolv.conf contained a
sortlist directive. [RT #43459 ]
2016-10-27 13:17:58 +11:00
Witold Krecicki
358dfaee18
4487. [test] Make system tests work on Windows. [RT #42931 ]
2016-10-19 17:18:42 +02:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Witold Krecicki
b9a56a7f10
[master] update API
2016-06-01 00:29:48 +02:00
Evan Hunt
6c2a76b3e2
[master] copyrights, win32 definitions
2016-05-26 12:36:17 -07:00
Mark Andrews
ede52ba98d
4373. [bug] Address undefined behaviour in getaddrinfo. [RT #42479 ]
2016-05-26 12:05:37 +10:00
Evan Hunt
30370d905e
[master] removed /Gy- from VS project files
...
4302. [port] win32: fixed a build error in VS 2015. [RT #41426 ]
2016-01-27 15:27:57 -08:00
Francis Dupont
343aeac717
Updated WIN32 files (rt40877)
2016-01-04 17:27:31 +01:00
Tinderbox User
3865e18d3d
update copyright notice / whitespace
2015-11-09 23:45:22 +00:00
Evan Hunt
e13d04fda9
[master] fix python script versions
...
4257. [cleanup] Python scripts reported incorrect version. [RT #41080 ]
2015-11-08 21:34:24 -08:00
Mark Andrews
7867d18ce0
Introduce end-of-line normalization
2015-09-29 08:25:35 +10:00
Tinderbox User
9268c62bd0
update copyright notice / whitespace
2015-09-18 23:45:23 +00:00
Mark Andrews
705d56b47a
4216. [cleanup] Silence static analysis warnings. [RT #40649 ]
2015-09-18 23:30:01 +10:00