Commit Graph

5725 Commits

Author SHA1 Message Date
Mark Andrews
fd980bd270 More for: 3410. [bug] Addressed Coverity warnings. [RT #31626
Squashed commit of the following:

commit d94f5463f508773a7b027230cd81b61cf8c9cfce
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 11:52:32 2012 +1100

    <string.h> -> <isc/string.h>

commit d707d6fb739c6e6df90a864141b418a13d3bccc8
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 11:48:20 2012 +1100

    address coverity warnings
2012-10-30 12:02:36 +11:00
Tinderbox User
a8835047ac update copyright notice 2012-10-29 23:45:23 +00:00
Mark Andrews
c28598b219 <sys/errno.h> -> <errno.h> 2012-10-30 09:24:19 +11:00
Mark Andrews
c4d594b474 3410. [bug] Addressed Coverity warnings. [RT #31626]
Squashed commit of the following:

commit bce2efe66d69d60b746b85df49974ca341723169
Author: Mark Andrews <marka@isc.org>
Date:   Mon Oct 29 12:59:25 2012 +1100

    use 'static dns_rdata_xxxx_t xxxx'

commit 704d3c29acbf2dd350a26f2df82a57cb077ba72e
Author: Mark Andrews <marka@isc.org>
Date:   Mon Oct 29 12:35:16 2012 +1100

    return ISC_R_NOTFOUND if private record length does not make sense

commit 7596610c12c5685336fc0909860173d2fae359af
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:41:17 2012 +1100

    check private->length == 5

commit 3836365a3e3e83b057bd940350f032279e080296
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:40:50 2012 +1100

    properly set private->length

commit a295778ac53109d39ef3a8b233751100edae678b
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:13:30 2012 +1100

    check dns_rdata_tostruct result

commit e33c37ca9112159e0b2363615bb018d27fa7d1a5
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:10:43 2012 +1100

    check remove/fopen/chmod return values

commit 3a675e0666aae25d1c51f51ec7bd3fbe25545aae
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:59:10 2012 +1100

    check isc_socket_accept result

commit 696923344f4b07ce0dba4cf2675b1cbb6eba7e8e
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:55:40 2012 +1100

    change variable scopes

commit b9e9d9ad58270271003e463f10744e0ceaf9ad97
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:53:19 2012 +1100

    check inet_pton return value

commit 70698e9589da77e3745efb6ea24b8830addd6ae4
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:52:40 2012 +1100

    break -> /* NOTREACHED */

commit 88de9de2e8e201ab2fef16a868f241e8206ea826
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:52:06 2012 +1100

    strcpy -> strlcpy

commit 6ba79c7cec0e48014cdfa76e8a9406b7a921556e
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:51:26 2012 +1100

    check dns_rdata_tostruct return values

Conflicts:
	bin/tests/rdata_test.c
	lib/dns/private.c
	lib/dns/tests/private_test.c
	lib/dns/zone.c
2012-10-29 20:23:07 +11:00
Evan Hunt
f3cd4188dd Merge branch 'v9_8' of ssh://repo/proj/git/prod/bind9 into v9_8 2012-10-24 18:04:41 -07:00
Evan Hunt
3314b7cd78 [v9_8] remove spurious signatures from glue
3404.	[bug]		dnssec-signzone: When re-signing a zone, remove
			RRSIG and NSEC records from nodes that used to be
			in-zone but are now below a zone cut. [RT #31556]
(cherry picked from commit 4b3d727d96)
(cherry picked from commit d8861c4350)
2012-10-24 17:54:25 -07:00
Tinderbox User
c825d55fd0 update copyright notice 2012-10-24 23:46:18 +00:00
ckb
9c54a9064b 3402. [bug] Correct interface numbers for IPv4 and IPv6 interfaces.
[RT #25085]
2012-10-24 14:53:20 -05:00
Mark Andrews
775ddcace8 add <#include <isc/print.h> 2012-10-24 20:50:29 +11:00
Evan Hunt
a53a622417 [v9_8] silence coverity warnings
3401.	[bug]		Addressed Coverity warnings. [RT #31484]
(cherry picked from commit 47c5b8af92)
(cherry picked from commit 2589af5868)
2012-10-23 22:33:52 -07:00
Tinderbox User
f73eb533d3 update copyright notice 2012-10-22 23:45:30 +00:00
Evan Hunt
c835b53d4c [rt31494] add gitID to kit.sh generated tarballs 2012-10-22 12:58:02 -07:00
Tinderbox User
f70f0365c2 update copyright notice 2012-10-18 23:45:39 +00:00
ckb
49cac75945 3397. [bug] dig crashed when using +nssearch with +tcp. [RT #25298] 2012-10-18 17:55:23 -05:00
Mark Andrews
e0e3f1de3e 3396. [bug] OPT records were incorrectly removed from signed,
truncated responses. [RT #31439]
2012-10-18 13:27:23 +11:00
Tinderbox User
2f04321481 update copyright notice 2012-10-16 23:45:46 +00:00
Mark Andrews
38b709b4a9 3395. [protocol] Add RFC 6598 reverse zones to built in empty zones
list, 64.100.IN-ADDR.ARPA ... 127.100.IN-ADDR.ARPA.
                        [RT #31336]
2012-10-16 12:40:51 +11:00
Mark Andrews
914454d428 test for directory existance before calling find 2012-10-16 10:56:22 +11:00
Mark Andrews
12d10a1e47 3393. [bug] 'host -C' could core dump if REFUSED was received.
[RT #31381]
2012-10-16 10:44:28 +11:00
Mark Andrews
5718b09b8f Merge branch 'v9_8' of repo.isc.org:/proj/git/prod/bind9 into v9_8 2012-10-07 11:36:46 +11:00
Tinderbox User
371adece68 update copyright notice 2012-10-06 23:45:40 +00:00
Mark Andrews
ee0e7a9f64 remove empty directories when cleaning 2012-10-06 17:27:22 +10:00
Mark Andrews
b1aaa160ba 3391. [bug] DNSKEY that encountered a CNAME failed. [RT #31262] 2012-10-06 14:57:03 +10:00
Mark Andrews
dc167ac7f3 3390. [bug] Silence clang compiler warnings. [RT #30417] 2012-10-06 12:39:55 +10:00
Tinderbox User
7e44df5192 update copyright notice 2012-10-03 23:45:46 +00:00
Evan Hunt
89ef143e3f fix coverity issues
3388.	[bug]		Fixed several Coverity warnings. [RT #30996]
2012-10-02 23:50:20 -07:00
Evan Hunt
2d47f8187f fixed an exploitable hang bug
3383.	[security]	A certain combinations of records in the RBT could
                        cause named to hang while populating the additional
                        section of a response. [RT #31090]
2012-09-26 17:12:00 -07:00
Mark Andrews
b990ea1d89 3380. [bug] named could die if a non-existant master list was
referenced in a also-notify. [RT #31004]
2012-09-26 15:29:28 +10:00
Evan Hunt
ff3c2231e1 handle nonexistent managed-keys-directory
3378.	[bug]		Handle missing 'managed-keys-directory' better.
			[RT #30625]
2012-09-25 18:28:39 -07:00
Mark Andrews
4e870e8ece make tests less timing sensitive by spining 2012-09-18 14:53:53 +10:00
Mark Andrews
34cf96d868 3375. [func] Check that 'rndc dumpdb' works on a empty cache.
[RT #30808]
2012-09-14 09:45:57 +10:00
Tinderbox User
2763d151ef update copyright notice 2012-09-12 23:45:45 +00:00
Mark Andrews
5aed1d4120 use binary mode for raw/fast 2012-09-12 17:42:02 +10:00
Mark Andrews
d82526084e turn binary mode on for raw/fast 2012-09-12 15:28:48 +10:00
Mark Andrews
40e7749444 3371. [bug] AD=1 should behave like DO=1 when deciding whether to
add NS RRsets to the additional section or not.
                        [RT #30479]
2012-08-31 11:26:36 +10:00
Mark Andrews
4d03700f87 don't call out to the internet when running test 2012-08-30 13:54:15 +10:00
Mark Andrews
791e07dc39 unsigned constants 2012-08-24 07:32:50 +10:00
Tinderbox User
80f25d44fc update copyright notice 2012-08-23 05:34:40 +00:00
Mark Andrews
b79740dfcd back port parse_rdata fix to handle NULL commandline 2012-08-22 18:39:37 +10:00
Mark Andrews
1b520b9c16 3379. [bug] nsupdate terminated unexpectedly in interactive mode
if built with readline support. [RT #29550]
2012-08-22 13:53:22 +10:00
Mark Andrews
13a90e9f23 we didn't catch a zero option at the global level when views are active 2012-08-17 13:41:15 +10:00
Tinderbox User
08b2758ac9 update copyright notice 2012-08-16 23:45:39 +00:00
Mark Andrews
0d095d4127 silence "t_names.c:130:7: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage" 2012-08-17 07:22:28 +10:00
Tinderbox User
cac69c8226 update copyright notice 2012-08-15 23:45:35 +00:00
Evan Hunt
3a6af6ab9b allow "forward" and "forwarders" in static-stub
3363.	[bug]		Need to allow "forward" and "fowarders" options
			in static-stub zones; this had been overlooked.
			[RT #30482]
2012-08-15 13:12:21 -07:00
Evan Hunt
475b563876 properly range-check fields that do not allow 0
3362.	[bug]		Setting some option values to 0 in named.conf
			could trigger an assertion failure on startup.
			[RT #27730]
2012-08-13 22:41:33 -07:00
Evan Hunt
5c13c20390 address memory leak with bad tsig secret
3359.	[bug]		An improperly-formed TSIG secret could cause a
                        memory leak. [RT #30607]
2012-08-10 20:17:22 -07:00
Evan Hunt
73ed414ae7 removed spurious variables added by merge, added config options to dnssec test 2012-07-25 22:13:42 -07:00
Tinderbox User
8b79e1aed5 update copyright notice 2012-07-25 23:45:36 +00:00
ckb
540b745122 3356. [bug] Cap the TTL of signed RRsets when RRSIGs are
approaching their expiry, so they don't remain
			in caches after expiry. [RT #26429]
2012-07-25 17:25:13 -05:00