Ondřej Surý
601cb4e4cc
Use coccinelle to cleanup the failure handling blocks from isc_mem_allocate
2019-07-23 15:32:35 -04:00
Ondřej Surý
ae83801e2b
Remove blocks checking whether isc_mem_get() failed using the coccinelle
2019-07-23 15:32:35 -04:00
Ondřej Surý
d5055665ca
Remove isc_hash_reverse function
2019-05-21 10:23:17 +00:00
Ondřej Surý
2e7d82443f
Convert isc_hash functions to use isc_siphash24
2019-05-21 10:23:13 +00:00
Ondřej Surý
78d0cb0a7d
Use coccinelle to remove explicit '#include <config.h>' from the source files
2019-03-08 15:15:05 +01:00
Ondřej Surý
2f3eee5a4f
isc_mutex_init returns 'void'
2018-11-22 11:51:49 +00:00
Ondřej Surý
b2b43fd235
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
2018-11-08 12:21:53 +07:00
Evan Hunt
09f58ab63f
retain a minimal "methods" struct in the mctx
...
- this enables memory to be allocated and freed in dyndb modules
when named is linked statically. when we standardize on libtool,
this should become unnecessary.
- also, simplified the isc_mem_create/createx API by removing
extra compatibility functions
2018-10-18 09:19:12 +00:00
Witold Kręcicki
5cdb38c2c7
Remove unthreaded support
2018-08-16 17:18:52 +02:00
Ondřej Surý
994e656977
Replace custom isc_boolean_t with C standard bool type
2018-08-08 09:37:30 +02:00
Ondřej Surý
cb6a185c69
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
2018-08-08 09:37:28 +02:00
Mark Andrews
4f18b6a09a
fix spelling of 'telemetry'
2018-07-10 18:19:12 -07:00
Michał Kępień
e5ef038134
Remove redundant dns_name_totextfilter_t argument
...
Since idn_output_filter() no longer uses its 'absolute' argument and no
other callback is used with dns_name_settotextfilter(), remove the
'absolute' argument from the dns_name_totextfilter_t prototype.
2018-07-10 14:34:35 +02:00
Ondřej Surý
55a10b7acd
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
2018-05-11 13:17:46 +02:00
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
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
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
Mark Andrews
9d5a0abe81
4841. [bug] Address -fsanitize=undefined warnings. [RT #46786 ]
2017-12-06 21:00:14 +11:00
Mark Andrews
bcce55197a
whitespace
2017-11-14 14:48:41 +11:00
Mark Andrews
31975d85de
remove out of date comment
2017-11-14 00:18:20 +11:00
Mark Andrews
3d905e0533
4817. [cleanup] Use DNS_NAME_INITABSOLUTE and DNS_NAME_INITNONABSOLUTE.
...
[RT #45433 ]
2017-11-13 16:58:12 +11:00
Mark Andrews
f735293431
4743. [func] Exclude trust-anchor-telementry queries from
...
synth-from-dnssec processing. [RT #46123 ]
2017-09-28 16:40:45 +10:00
Evan Hunt
9b729a06b0
[master] clean up bufsize errors
2017-09-13 21:18:26 -07:00
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
Mark Andrews
4a258c3c42
4718. [func] Avoid seaching for a owner name compression pointer
...
more than once when writing out a RRset. [RT #45802 ]
2017-09-13 09:24:34 +10:00
Mark Andrews
6adc40b3ce
4704. [cleanup] Silence Visual Studio compiler warnings. [RT #45898 ]
2017-09-07 12:57:55 +10:00
Tinderbox User
1f6505a424
update copyright notice / whitespace
2017-04-22 23:45:41 +00:00
Mukund Sivaraman
03be5a6b4e
Improve performance for delegation heavy answers and also general query performance ( #44029 )
2017-04-22 09:22:44 +05:30
Mark Andrews
52e2aab392
4546. [func] Extend the use of const declarations. [RT #43379 ]
2016-12-30 15:45:08 +11:00
Mark Andrews
42470b0b87
4496. [func] dig: add +idnout to control whether labels are
...
display in punycode or not. Requires idn support
to be enabled at compile time. [RT #43398 ]
2016-10-28 12:05:19 +11:00
Mukund Sivaraman
becac651e8
Update assertions to be more correct, and also remove use of a reserved word ( #43090 )
...
Note: this doesn't actually fix #43090 .
2016-08-29 18:52:55 +05:30
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Witold Krecicki
4681ab1fc2
4387. [test] Rewritten test suite for catalog zones. [RT #42676 ]
...
4386. [func] Support for master entries with TSIG keys in catalog
zones. [RT #42577 ]
2016-06-22 10:50:09 +02:00
Witold Krecicki
7a00d69909
4376. [experimental] Added support for Catalog Zones, a new method for
...
provisioning secondary servers in which a list of
zones to be served is stored in a DNS zone and can
be propagated to slaves via AXFR/IXFR. [RT #41581 ]
4375. [func] Add support for automatic reallocation of isc_buffer
to isc_buffer_put* functions. [RT #42394 ]
2016-05-26 21:23:19 +02:00
Tinderbox User
0a3a65e3cc
update copyright notice / whitespace
2016-03-07 23:45:22 +00:00
Mark Andrews
d6357f09aa
4329. [func] Warn about a common misconfiguration when forwarding
...
RFC 1918 zones. [RT #41441 ]
2016-03-08 10:11:23 +11:00
Tinderbox User
8b074bef0c
update copyright notice / whitespace
2016-02-01 23:45:25 +00:00
Mukund Sivaraman
d1dbf6b20f
Use __built_expect() where available ( #41411 )
2016-02-01 08:59:49 +05:30
Tinderbox User
2a37470065
update copyright notice / whitespace
2015-12-09 23:45:23 +00:00
Evan Hunt
f21d2ee372
[master] comments
2015-12-09 08:54:04 -08:00
Mukund Sivaraman
5d79b60fc5
Improve performance of RBT ( #41165 )
2015-12-09 19:10:55 +05:30
Mark Andrews
5855fd79e3
4191. [protocol] Accept DNS-SD non LDH PTR records in reverse zones
...
as per RFC 6763. [RT #37889 ]
2015-08-25 14:46:06 +10:00
Mark Andrews
dc3912f3ca
4190. [protocol] Accept Active Diretory gc._msdcs.<forest> name as
...
valid with check-names. <forest> still needs to be
LDH. [RT #40399 ]
2015-08-22 15:27:33 +10:00
Mark Andrews
b292230ab8
4110. [bug] Address memory leaks / null pointer dereferences
...
on out of memory. [RT #39310 ]
2015-04-29 03:16:50 +10:00
Tinderbox User
5e93bad21b
update copyright notice / whitespace
2015-03-01 23:45:20 +00:00
Mark Andrews
a8da00ef95
4079. [func] Preserve the case of the ownername of records to
...
the RRset level. [RT #37442 ]
2015-02-27 15:08:38 +11:00
Mark Andrews
a266ab205b
3952. [bug] dns_name_fullcompare failed to set *nlabelsp when the
...
two name pointers were the same. [RT #37176 ]
2014-09-27 11:41:44 +10:00
Mark Andrews
769224a8dc
state fw_copy is never used; n only needs to be set for fw_ordinary;
...
(cherry picked from commit d956d9689c13b093fff5faf6b10f06338354dcfc)
2014-07-04 08:51:26 +10:00
Francis Dupont
c80fef792a
fix char sign extension [ #35743 ]
2014-04-11 13:25:49 +02:00
Evan Hunt
a40b8e025a
[master] remove unnecessary test in name.c
2014-01-20 17:58:47 -08:00