Commit Graph

8272 Commits

Author SHA1 Message Date
Tinderbox User
e60b4aa460 update copyright notice 2012-12-18 23:45:11 +00:00
Mark Andrews
c973a1dee7 3443. [bug] The NOQNAME proof was not being returned from cached
insecure responses. [RT #21409]

Conflicts:
	bin/tests/system/conf.sh.in
	lib/dns/include/dns/nsec3.h
	lib/dns/validator.c
2012-12-19 10:31:27 +11:00
Mark Andrews
4f1853005d 3441. [maint] D.ROOT-SERVERS.NET is now 199.7.91.13. 2012-12-14 12:47:51 +11:00
Mark Andrews
1b9f10181b 3440. [bug] Reorder get_key_struct to not trigger a assertion when
cleaning up due to out of memory error. [RT #32131]
2012-12-13 11:20:21 +11:00
Tinderbox User
38215b46b7 update copyright notice 2012-12-08 23:45:12 +00:00
Mark Andrews
2f74870f49 RETTOK -> RETERR 2012-12-09 07:46:35 +11:00
Mark Andrews
c35c678e1a 3438. [bug] Don't accept unknown data escape in quotes. [RT #32031]
Squashed commit of the following:

commit 7ad3daade513c94a1c92ee7c91c112f161d13ef4
Author: Mark Andrews <marka@isc.org>
Date:   Mon Dec 3 15:03:44 2012 +1100

    look at the second token to determine if a TXT record in of unknown format or not

commit 7df32138462646f6aee84ffa56d02ac24ec8d672
Author: Mark Andrews <marka@isc.org>
Date:   Mon Dec 3 12:42:18 2012 +1100

    '"\#"' was incorrectly being treated as a unknown data escape sequence.
2012-12-08 14:14:04 +11:00
Mark Andrews
4871328f72 3437. [bug] isc_buffer_init -> isc_buffer_constinit to initialise
buffers with constant data. [RT #32064]

Squashed commit of the following:

commit 3433b96bf11f8c90ccbe412f01d02a6d8bbc2d33
Author: Mark Andrews <marka@isc.org>
Date:   Sat Dec 8 12:41:16 2012 +1100

    isc_buffer_init -> isc_buffer_constinit

commit c22dbcc1122a0a44f7b46068e0ccbc25353a57d5
Author: Mark Andrews <marka@isc.org>
Date:   Sat Dec 8 12:38:39 2012 +1100

    isc_buffer_init -> isc_buffer_constinit

commit 900820416c45c1887d0d22d7a010df60a903bd56
Author: Mark Andrews <marka@isc.org>
Date:   Sat Dec 8 12:24:19 2012 +1100

    remove isc_buffer_reconstinit

commit f815711c17b05f9961786a90b9bae902d3c01494
Author: Mark Andrews <marka@isc.org>
Date:   Wed Dec 5 15:42:57 2012 +1100

    add isc_buffer_constinit
2012-12-08 13:08:03 +11:00
Tinderbox User
240a1f6813 update copyright notice 2012-12-07 23:45:11 +00:00
Evan Hunt
4fe7f9e64d [v9_6] check malloc/calloc return values
3436.	[bug]		Check malloc/calloc return values. [RT #32088]
(cherry picked from commit 45f3693294)
2012-12-07 12:24:54 -08:00
Mark Andrews
01d3af945b treat clang 3.x and 4.x as independent release streams 2012-12-03 09:09:19 +11:00
Mark Andrews
0f7c52af38 workaround only needed for clang 3.1 2012-12-03 07:59:34 +11:00
Mark Andrews
66d5cfe992 silence compiler warnings 2012-12-01 21:35:24 +11:00
Mark Andrews
b04d25d98f silence clang --analyze warnings 2012-11-30 18:53:43 +11:00
Mark Andrews
ba57636139 conditionally silence false positives from clang --analyze 2012-11-30 16:19:56 +11:00
Mark Andrews
1f253dcf4d 3429. [bug] dns_zone_getserial2 could a return success without
returning a valid serial. [RT #32007]

Squashed commit of the following:

commit 0057f4b6e843c3998b987dbc7f32ceeee8afc150
Author: Mark Andrews <marka@isc.org>
Date:   Fri Nov 30 08:13:15 2012 +1100

    zone_get_from_db could return success without setting return valuses; serial is only valid if soacount is none zero

Conflicts:
	lib/dns/zone.c
2012-11-30 12:02:17 +11:00
Mark Andrews
9dc8381ff4 null pointer derefernce on out of memory 2012-11-30 00:51:17 +11:00
Mark Andrews
133ca384d1 initialize the octet string to empty so that we don't free garbage on error 2012-11-29 18:13:27 +11:00
Mark Andrews
8338bbc282 link against @DNS_CRYPTO_LIBS@ 2012-11-29 07:27:41 +11:00
Mark Andrews
cecbe5bc42 3425. [bug] "acacheentry" reference counting was broken resulting
in use after free. [RT #31908]
2012-11-27 16:05:45 +11:00
Tinderbox User
a9cf59c7cb update copyright notice 2012-11-21 23:45:10 +00:00
Mark Andrews
1aefd8ec88 3421. [bug] Named loops when re-signing if all keys are offline.
[RT #31916]

Squashed commit of the following:

commit f47af0ca6793687b9c8d08fd44b0c091ba5a4f9a
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 21 17:45:21 2012 +1100

    dns_dns_zonediff_t -> dns_zonediff_t, clarify comment

commit 344edefc3ee90856a7ff990abe7971925ba843b2
Author: Mark Andrews <marka@isc.org>
Date:   Tue Nov 20 13:12:26 2012 +1100

    commit the zone changes if a keep was marked as being offline

commit cad2c2446ebfc20b6d8c4f6dd0d6596d7106cc0f
Author: Mark Andrews <marka@isc.org>
Date:   Tue Nov 20 13:08:29 2012 +1100

    check for looping when re-signing expiring.example

Conflicts:
	lib/dns/zone.c

Conflicts:
	lib/dns/zone.c
2012-11-21 20:48:01 +11:00
Mark Andrews
6b696ad957 3419. [bug] Memory leak on validation cancel. [RT #31869]
Squashed commit of the following:

commit 452b07ec7cb31784d90d9c2e45ca708df306302e
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 14 23:36:36 2012 +1100

    destroy fetch when canceling validator
2012-11-15 11:21:14 +11:00
Mark Andrews
caa58096b2 Redo
3415.   [bug]           named could die with a REQUIRE failure if a valdation
                        was canceled. [RT #31804]
2012-11-14 07:44:30 +11:00
Mark Andrews
25c877f032 3415. [bug] named could die with a REQUIRE failure id a valdation
was canceled. [RT #31804]

Squashed commit of the following:

commit d414d3cb4244daeca4159ac1f8a82322e4a20e5a
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 7 14:19:28 2012 +1100

    check that val->fetch != NULL before calling dns_resolver_destroyfetch
2012-11-09 09:15:11 +11:00
Mark Andrews
39621f0a19 sock is potentially unused in use_min_mtu 2012-11-01 15:29:53 +11:00
Mark Andrews
c772a63639 task used uninitalised 2012-11-01 15:20:45 +11:00
Mark Andrews
fdfc5c763e uninitalised use 2012-11-01 13:55:29 +11:00
Mark Andrews
dd03068db2 3412. [bug] Copy timeval structure from control message data.
[RT #31548]
2012-11-01 11:17:41 +11:00
Tinderbox User
5079524c7c update copyright notice 2012-10-31 23:45:11 +00:00
Mark Andrews
95eff34c01 address merge error 2012-11-01 10:42:01 +11:00
Mark Andrews
3474f269c6 More coverity fixes:
3410.   [bug]           Addressed Coverity warnings. [RT #31626]
Squashed commit of the following:

commit 6fec07bbb69ead784063052f2099674f8b52c6b3
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 18:14:35 2012 +1100

    use strl{cat,cpy}

commit 19a5d3766f3dbc8a2944b21640a8226a89aae7ba
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 14:38:55 2012 +1100

    address unchecked xmlTextWriter* calls

Conflicts:
	bin/named/statschannel.c
	lib/dns/cache.c
	lib/dns/include/dns/cache.h
	lib/isc/task.c

Conflicts:
	lib/isc/mem.c
	lib/isc/task.c
	lib/isc/unix/socket.c
	lib/isc/win32/socket.c
2012-11-01 10:35:08 +11:00
Mark Andrews
28cb874727 3411. [tuning] Use IPV6_USE_MIN_MTU or equivalent with TCP in addition to UDP. [RT #31690]
Squashed commit of the following:

commit bcbe9ae7a99e1f7f4236a22739a793b51ace8684
Author: Mark Andrews <marka@isc.org>
Date:   Wed Oct 31 15:10:53 2012 +1100

    Use IPV6_USE_MIN_MTU for TCP as well as UDP

Conflicts:
	lib/isc/win32/socket.c
2012-11-01 08:46:00 +11:00
Mark Andrews
2eacd1be5c 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

Conflicts:
	CHANGES
	bin/tests/rdata_test.c
	lib/dns/zone.c
2012-10-29 20:52:41 +11:00
Evan Hunt
7331f3d84b [v9_6] address mem.c compilation problems
3406.	[bug]		mem.c: Fix compilation errors when building with
			ISC_MEM_TRACKLINES or ISC_MEMPOOL_NAMES disabled.
                        Also, ISC_MEM_DEBUG is no longer optional. [RT #31559]
(cherry picked from commit 2f57f353e8)
(cherry picked from commit 76e34eb2fd)
(cherry picked from commit 7c5941b4c2)
2012-10-25 19:07:13 -07:00
Tinderbox User
9b23de87dc update copyright notice 2012-10-25 23:46:14 +00:00
Mark Andrews
e68ab11c16 3405. [bug] Handle time going backwards in acache. [RT #31253]
Squashed commit of the following:

commit fbf4c8fe2644c101bac870360d3f2c159a90f203
Author: Mark Andrews <marka@isc.org>
Date:   Wed Oct 24 14:43:14 2012 +1100

    remove INSIST and handle time going backwards
2012-10-25 14:30:09 +11:00
Tinderbox User
48a322e5be update copyright notice 2012-10-24 23:45:15 +00:00
Evan Hunt
b8888bfd55 [v9_6] silence warning 2012-10-24 15:40:45 -07:00
Evan Hunt
148413ff38 [v9_6] silence noisy OpenSSL logging
3402.	[bug]		Correct interface numbers for IPv4 and IPv6 interfaces.
(cherry picked from commit 0e37e9e3d7)
(cherry picked from commit 152c393671)
(cherry picked from commit ab9d2ca4dd)
2012-10-24 13:16:38 -07:00
Evan Hunt
a86ff30111 [v9_6] silence coverity warnings
3401.	[bug]		Addressed Coverity warnings. [RT #31484]
(cherry picked from commit 47c5b8af92)
(cherry picked from commit 2589af5868)
(cherry picked from commit a53a622417)
2012-10-23 22:34:16 -07:00
Mark Andrews
8a8b37d36f remove redundant UNUSED(callbacks) 2012-10-19 16:29:47 +11:00
Tinderbox User
231b8abbc1 update copyright notice 2012-10-18 23:45:13 +00:00
Mark Andrews
49a924db3b 3396. [bug] OPT records were incorrectly removed from signed,
truncated responses. [RT #31439]
2012-10-18 13:27:36 +11:00
Mark Andrews
9f519425b2 missing space before other len after change #3389 2012-10-17 12:50:30 +11:00
Mark Andrews
f9d8debcd0 3394. [bug] Adjust 'sucessfully validated after lower casing
signer' log level and category. [RT #31414]
2012-10-16 11:57:05 +11:00
Mark Andrews
8a1b751171 fix typos in variable names 2012-10-10 13:11:54 +11:00
Tinderbox User
f88745517a update copyright notice 2012-10-06 23:45:13 +00:00
Mark Andrews
6e8dc44545 3391. [bug] DNSKEY that encountered a CNAME failed. [RT #31262] 2012-10-06 15:06:58 +10:00
Mark Andrews
e4e82b398c 3390. [bug] Silence clang compiler warnings. [RT #30417] 2012-10-06 12:26:50 +10:00