Michał Kępień
1ad85ff974
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.
(cherry picked from commit 6c09f305ae )
2018-03-06 09:25:24 +01:00
Michał Kępień
ca7cd80dd5
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.
(cherry picked from commit 1f400b68a8 )
2018-03-06 09:25:23 +01:00
Evan Hunt
7677cb277a
final cleanup
...
- add CHANGES note
- update copyrights and license headers
2018-02-25 13:13:26 -08:00
Petr Menšík and Evan Hunt
3727e6a944
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 )
(cherry picked from commit 6f2fd5ccca )
2018-02-23 15:51:50 -08:00
Evan Hunt
0712192947
[v9_9] update 9.11 api range
2018-01-24 10:24:48 -08:00
Evan Hunt
00947bf45d
[v9_9] prep 9.9.12b1
2018-01-24 10:15:30 -08:00
Tinderbox User
7aeee801e6
regen v9_9
2017-12-29 02:41:20 +00:00
Mark Andrews
90f743306c
don't use the ERR macro as GCC 7 only does a partial static analysis which generates false positives for fallthrough. [RT #46115 ]
...
(cherry picked from commit 0698ad8503 )
2017-11-01 19:19:40 +11:00
Mark Andrews
a3d6b515a0
4766. [cleanup] Addresss Coverity warnings. [RT #46150 ]
...
(cherry picked from commit 5df3f839b2 )
2017-10-09 18:39:07 +11:00
Mark Andrews
4ada70d71a
4737. [cleanup] Address Coverity warnings. [RT #46012 ]
...
(cherry picked from commit 08151d7fce )
2017-09-26 23:25:08 +10:00
Tinderbox User
a7741835cc
regen v9_9
2017-09-21 07:51:57 +00:00
Tinderbox User
01bad075b6
regen v9_9
2017-09-21 04:07:03 +00:00
Mark Andrews
799bb89429
explicitly list test programs
2017-09-21 13:07:12 +10:00
Mark Andrews
af9aed27c1
more str{n}{cat,cpy} corrections rt45981_stage2
...
(cherry picked from commit cb629cdeda )
2017-09-14 18:43:48 +10:00
Tinderbox User
077f3c4e27
update copyright notice / whitespace
2017-09-14 00:03:54 +00:00
Mukund Sivaraman
4c9e65a0dd
Add missing <isc/print.h>
...
(cherry picked from commit 188fa6ea68 )
(cherry picked from commit a13e9f894c )
(cherry picked from commit 83dfa75ac3 )
2017-09-13 19:59:05 +05:30
Evan Hunt
f07825440f
[master] cleanup strcat/strcpy
...
4722. [cleanup] Clean up uses of strcpy() and strcat() in favor of
strlcpy() and strlcat() for safety. [RT #45981 ]
(cherry picked from commit 114f95089c )
(cherry picked from commit 7cd594b842 )
(cherry picked from commit e0ddfb109e )
2017-09-13 00:20:09 -07:00
Mark Andrews
f22330dc5c
4653. [bug] Reorder includes to move @DST_OPENSSL_INC@ and
...
@ISC_OPENSSL_INC@ after shipped include directories.
[RT #45581 ]
(cherry picked from commit 124712666e )
2017-07-20 12:09:43 +10:00
Evan Hunt
44bbb60075
[v9_9] update api ranges
2017-07-16 13:57:35 -07:00
Evan Hunt
adf886ca5b
[v9_9] fix API ranges (170-179 was used for two branches)
2017-06-27 12:20:41 -07:00
Mark Andrews
d96a0f1e9b
update api for 9.9.11b1
2017-06-26 12:33:52 +10:00
Tinderbox User
116c184440
update copyright notice / whitespace
2017-05-01 23:47:23 +00:00
Mark Andrews
b2970c4a93
4612. [bug] Silence 'may be use uninitalised' warning and simplify
...
the code in lwres/getaddinfo:process_answer.
[RT #45158 ]
(cherry picked from commit b09eb48f8a )
(cherry picked from commit 358aa43c8c )
2017-05-02 09:25:08 +10:00
Tinderbox User
a658d80dc7
update copyright notice / whitespace
2017-04-24 23:47:23 +00:00
Evan Hunt
96762fdd4c
[v9_9] allow parallel make
...
4609. [cleanup] Rearrange makefiles to enable parallel execution
(i.e. "make -j"). [RT #45078 ]
2017-04-23 23:04:56 -07:00
Tinderbox User
93830fbbf8
update copyright notice / whitespace
2017-04-17 23:47:45 +00:00
Evan Hunt
b70ae741bf
[v9_9] fix out of tree build error
...
(cherry picked from commit 28cff4f924 )
2017-04-17 14:32:13 -07:00
Mark Andrews
4ebbb52b1b
record ranges; account for -P's
2017-02-16 12:10:14 +11:00
Tinderbox User
a06917d08f
update copyright notice / whitespace
2016-11-02 23:51:39 +00:00
Evan Hunt
60814deed8
[v9_9] 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 ]
(cherry picked from commit 6087f87afb )
(cherry picked from commit 398f8c32f3 )
2016-11-01 20:22:35 -07:00
Mark Andrews
fa2ed4b627
update copyrights
2016-10-28 11:30:47 +11:00
Mark Andrews
9de8fa2535
4492. [bug] irs_resconf_load failed to initialise sortlistnxt
...
causing bad writes if resolv.conf contained a
sortlist directive. [RT #43459 ]
(cherry picked from commit 55b78fff62 )
2016-10-27 13:20:39 +11:00
Tinderbox User
addd839e4a
update copyright notice / whitespace
2016-05-26 23:46:02 +00:00
Mark Andrews
59300548a7
4373. [bug] Address undefined behaviour in getaddrinfo. [RT #42479 ]
...
(cherry picked from commit ede52ba98d )
2016-05-26 12:06:09 +10:00
Tinderbox User
4acf5216d7
update copyright notice / whitespace
2015-11-09 23:46:11 +00:00
Evan Hunt
7d984067ee
[v9_9] fix python script versions
...
4257. [cleanup] Python scripts reported incorrect version. [RT #41080 ]
2015-11-08 21:41:04 -08:00
Tinderbox User
2a074779d4
update copyright notice / whitespace
2015-09-18 23:46:09 +00:00
Mark Andrews
0ae238037c
4216. [cleanup] Silence static analysis warnings. [RT #40649 ]
...
(cherry picked from commit 705d56b47a )
2015-09-18 23:36:48 +10:00
Evan Hunt
fa43390ed9
[v9_9] prep 9.9.8rc1
2015-08-25 11:22:50 -07:00
Mukund Sivaraman
4abc820714
Fix double frees in getaddrinfo() in libirs ( #40209 )
...
(cherry picked from commit d7262e5c86 )
(cherry picked from commit cec7b98404 )
2015-08-14 14:10:14 +05:30
Mukund Sivaraman
5cfbc228ca
Bump api versions for 9.9.8b1
2015-07-31 19:42:23 +05:30
Tinderbox User
8780da5841
update copyright notice / whitespace
2015-06-29 23:46:07 +00:00
Mukund Sivaraman
ad0a9403c3
Fix race in getaddrinfo() in libirs ( #39873 )
...
(cherry picked from commit c44c77178e )
(cherry picked from commit 6141f501d9 )
Conflicts:
CHANGES
2015-06-29 19:51:23 +05:30
Tinderbox User
b644f1cdb8
update copyright notice / whitespace
2014-12-19 23:46:10 +00:00
Mark Andrews
6e140f9d04
4025. [port] bsdi: failed to build. [RT #38047 ]
...
(cherry picked from commit 00bb9b88cecf7e2c365c9f008c049da3802ac415)
2014-12-19 12:04:41 +11:00
Evan Hunt
38398c590a
[v9_9] [rt36786] use INSTALL_PROGRAM for shared libs
...
3947. [cleanup] Set the executable bit on libraries when using
libtool. [RT #36786 ]
(cherry picked from commit f687e639f0 )
2014-09-05 10:28:57 -07:00
Evan Hunt
08f092cc6f
[v9_9] prep 9.9.6b1
2014-06-18 23:59:48 -07:00
Mark Andrews
854e0dc55b
silence clang compiler warnings
...
(cherry picked from commit d26c36b1d9 )
2014-05-02 10:03:23 +10:00
Mark Andrews
5ca8e16412
install context.h dnsconf.h; resconf.h types.h were not being installed when cross compiling
...
(cherry picked from commit 8058292627 )
2014-03-14 11:43:00 +11:00
Tinderbox User
9897222d78
update copyright notice
2014-03-04 23:45:33 +00:00