Commit graph

74 commits

Author SHA1 Message Date
Ondřej Surý
1084b40b44 Replace custom isc_boolean_t with C standard bool type
(cherry picked from commit 994e656977)
(cherry picked from commit 884929400c)
2018-08-10 15:20:57 +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ń
ecea678dac Use dns_fixedname_initname() where possible
Replace dns_fixedname_init() calls followed by dns_fixedname_name()
calls with calls to dns_fixedname_initname() where it is possible
without affecting current behavior and/or performance.

This patch was mostly prepared using Coccinelle and the following
semantic patch:

    @@
    expression fixedname, name;
    @@
    -	dns_fixedname_init(&fixedname);
    	...
    -	name = dns_fixedname_name(&fixedname);
    +	name = dns_fixedname_initname(&fixedname);

The resulting set of changes was then manually reviewed to exclude false
positives and apply minor tweaks.

It is likely that more occurrences of this pattern can be refactored in
an identical way.  This commit only takes care of the low-hanging fruit.

(cherry picked from commit 4df4a8e731)
(cherry picked from commit 0041aeb751)
2018-04-10 13:26:23 -07:00
Evan Hunt
8b205089b7 update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
Mark Andrews
02d54949f0 copyright
(cherry picked from commit e3d74bdd7f)
2016-07-21 19:39:25 +10:00
Mark Andrews
0c27b3fe77 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
Mark Andrews
d7ab0204e2 4378. [contrib] #include <isc/string.h> for strlcat in zone2ldap.c.
[RT #42525]
2016-05-27 11:19:55 +10:00
Mark Andrews
ffdd3bc812 4231. [contrib] Address unchecked memory allocation calls in
query-loc and zone2ldap. [RT #40789]
2015-09-30 15:46:55 +10:00
Evan Hunt
1c182f1516 [master] fix SDB bug
3970.   [contrib]       Fixed a use after free bug in the SDB LDAP driver.
                        [RT #37237]
2014-10-02 23:24:07 -07:00
Tinderbox User
80d13a0d45 update copyright notice 2014-08-20 23:45:19 +00:00
Mark Andrews
58f1ac8dad 3916. [contrib] zone2sqlite checked wrong result code. Address
compiler warnings. [RT #36931]
2014-08-20 23:14:03 +10:00
Evan Hunt
96a1161785 [master] quote table names
3563.	[contrib]	zone2sqlite failed with some table names. [RT #33375]
2013-05-02 07:38:49 -07:00
Tinderbox User
a3128c1995 update copyright notice 2012-06-29 23:45:57 +00:00
Mark Andrews
bf8267aa45 reverse bad copyright update 2012-06-29 11:39:47 +10:00
Tinderbox User
247bf37860 update copyright notice 2012-06-29 01:22:18 +00:00
Mark Andrews
411d2914ad 3226. [bug] Address minor resource leakages. [RT #26624] 2011-11-30 00:48:51 +00:00
Automatic Updater
0e11ca0f0b update copyright notice 2011-10-11 23:46:45 +00:00
Evan Hunt
793814f807 3164. [func] Enable DLZ modules to retrieve client information,
so that responses can be changed depending on the
			source address of the query. [RT #25768]
2011-10-11 00:09:03 +00:00
Mark Andrews
f94ec08c17 2942. [contrib] zone2sqlite failed to setup the entropy sources.
[RT #21610]
2010-08-16 05:32:44 +00:00
Automatic Updater
d7201de09b update copyright notice 2009-09-02 23:48:03 +00:00
Tatuya JINMEI 神明達哉
307d208450 2660. [func] Add a new set of DNS libraries for non-BIND9
applications.  See README.libdns. [RT #19369]
2009-09-01 00:22:28 +00:00
Mark Andrews
47d9a2bec1 2500. [contrib] contrib/sdb/pgsql/zonetodb.c called non-existant
function. [RT #18582]
2008-11-27 06:14:22 +00:00
Automatic Updater
3398334b3a update copyright notice 2008-09-25 04:02:39 +00:00
Mark Andrews
6098d364b6 2448. [func] Add NSEC3 support. [RT #15452] 2008-09-24 02:46:23 +00:00
Automatic Updater
70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews
4259095c80 2155. [contrib] SQLite sdb module from jaboydjr@netwalk.com.
[RT #16694]
2007-03-05 05:30:22 +00:00
Mark Andrews
92f56936fb update copyright notice 2007-01-09 03:11:16 +00:00
Mark Andrews
7acb804e7f update copyright notice 2007-01-09 02:44:24 +00:00
Mark Andrews
675d696977 update copyright notice 2005-09-06 03:51:37 +00:00
Mark Andrews
c834db9f95 create/destroy entropy and hash 2005-08-16 04:22:37 +00:00
Mark Andrews
e6bddc301c create and destroy entropy and hash 2005-08-11 23:32:32 +00:00
Mark Andrews
9cc53f2a08 1707. [contrib] sdb/ldap updated to version 1.0-beta. 2004-08-27 00:07:23 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
e9f2290397 silence compiler warning 2003-03-31 07:23:47 +00:00
Mark Andrews
0ae34c3f62 1353. [contrib] sdb/ldap to version 0.9. 2002-08-05 04:23:13 +00:00
Mark Andrews
88aa68f478 1292. [contrib] Berkeley DB 4.0 sdb implementation from
Nuno Miguel Rodrigues <nmr@co.sapo.pt>.
2002-05-16 04:25:22 +00:00
Mark Andrews
c6b78d91a1 silence compiler 2002-03-19 15:57:23 +00:00
Mark Andrews
b597abd9cc 1234. [bug] contrib/sdb: 'zonetodb' failed to call
dns_result_register().  DNS_R_SEENINCLUDE should not
                        be fatal.
2002-03-19 03:32:08 +00:00
Andreas Gustafsson
f8aa552edb Split contrib/sdb into a subdirectory per driver 2001-11-15 23:15:34 +00:00
David Lawrence
99c9a71675 update from author 2001-06-10 22:36:38 +00:00
Brian Wellington
a6f360bb94 update from the author 2001-06-08 18:40:35 +00:00
Brian Wellington
adf16bbdb6 update to newer version 2001-05-30 22:02:09 +00:00
Brian Wellington
80b3f47796 Empty database nodes caused the program to fail. 2001-03-17 01:53:01 +00:00
Brian Wellington
bf49a52178 Added the contributed LDAP sdb driver and program to convert a zone into an
LDAP schema.
2001-03-14 20:22:32 +00:00
Brian Wellington
1ff970120a Add support for reconnection and allow user, passwd, and host to be specified. 2001-02-28 23:42:37 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Mark Andrews
88a6fef494 init dns_rdata_t's 2000-12-11 23:09:47 +00:00
Andreas Gustafsson
b28c61df9a moved driver description comments closer to top of file and edited some of them 2000-12-10 07:53:12 +00:00
Andreas Gustafsson
740af672b4 commented 2000-12-10 07:47:43 +00:00