2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
Michał Kępień
4df4a8e731 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.
2018-04-09 12:14:16 +02:00
Witold Kręcicki
275a6a3bec libdns refactoring: get rid of unnecessary dns_db_dump2 and 3 versions of dns_db_load 2018-04-06 08:04:41 +02:00
Ondřej Surý
b097be17ef Remove unused obsolete isc_hash_* function, and just keep the FNV-1a version 2018-04-04 23:12:14 +02: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
Mark Andrews
411d2914ad 3226. [bug] Address minor resource leakages. [RT #26624] 2011-11-30 00:48:51 +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
6098d364b6 2448. [func] Add NSEC3 support. [RT #15452] 2008-09-24 02:46:23 +00:00
Mark Andrews
e6bddc301c create and destroy entropy and hash 2005-08-11 23:32:32 +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
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