Commit Graph

843 Commits

Author SHA1 Message Date
Tinderbox User
47894d492d update copyright notice 2013-01-17 23:45:13 +00:00
Mark Andrews
5b6e1a6067 s/head/tail/ 2013-01-17 21:46:29 +11:00
Mark Andrews
4c43678e8e Silence "Use of memory after it is freed" by asserting the head and tail of list are not the element after it is unlinked from the list. 2013-01-17 14:22:48 +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
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
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
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
7f1fab8b88 3379. [bug] isc_interval_zero and isc_time_epoch should be
"const (type)* const". [RT #31069]
2012-09-26 15:21:18 +10:00
Tinderbox User
6e02beeec7 update copyright notice 2012-09-12 23:45:17 +00:00
Mark Andrews
22e5707efa 3373. [bug] win32: open raw files in binary mode. [RT #30944] 2012-09-12 12:04:25 +10:00
Tinderbox User
ae47f254c7 update copyright notice 2012-06-29 23:45:10 +00:00
Mark Andrews
0b51f38570 reverse bad copyright update 2012-06-29 11:47:25 +10:00
Tinderbox User
a4da60cb18 update copyright notice 2012-06-29 01:21:32 +00:00
Tinderbox User
a3bf29d6c8 update copyright notice 2012-03-10 23:45:08 +00:00
Tinderbox User
d5c5ac0dbb regen v9_6 2012-03-07 01:45:20 +00:00
Evan Hunt
aea84bd0d8 remove cvsignore, add gitignore 2012-03-04 09:08:12 -08:00
Automatic Updater
d2b4873632 update copyright notice 2012-02-28 23:45:13 +00:00
Mark Andrews
12425269fa 3290. [bug] <isc/hmacsha.h> was not being installed. [RT #28169] 2012-02-28 21:38:11 +00:00
Automatic Updater
83255fe881 update copyright notice 2012-01-27 23:45:34 +00:00
Mark Andrews
e4e2b02dab 3267. [bug] Memory allocation failures could be mis-reported as
unexpected error.  New ISC_R_UNSET result code.
                        [RT #27336]
2012-01-27 01:30:24 +00:00
Automatic Updater
6c6b7e5383 update copyright notice 2011-11-30 23:45:15 +00:00
Evan Hunt
d51bd1de1f 3228. [tuning] Dynamically grow symbol table to improve zone
loading performance. [RT #26523]
2011-11-30 04:25:09 +00:00
Automatic Updater
288d660942 update copyright notice 2011-09-08 23:45:16 +00:00
Evan Hunt
3d7092d9bd 3152. [cleanup] Some versions of gcc and clang failed due to
incorrect use of __builtin_expect. [RT #25183]
2011-09-05 18:01:47 +00:00
Evan Hunt
125383b7e3 3149. [tuning] Improve scalability by allocating one zone
task per 100 zones at startup time.  (The
			BIND9_ZONE_TASKS_HINT environment variable
			which was established as a temporary measure
			in change #3132 is no longer needed or
			used.) [rt25541]
2011-09-05 07:19:28 +00:00
Automatic Updater
c362331845 update copyright notice 2011-08-30 23:45:13 +00:00
Mark Andrews
b755e5ee27 backport noreturn attribute tagging 2011-08-30 12:23:16 +00:00
Automatic Updater
9e5debd879 update copyright notice 2011-03-12 04:57:33 +00:00
Mark Andrews
e9cc9a1dce 3058. [bug] Cause named to terminate at startup or rndc reconfig/
reload to fail, if a log file specified in the conf
                        file isn't a plain file. [RT #22771]
2011-03-12 04:48:03 +00:00
Mark Andrews
5b4cdf0f41 3069. [cleanup] Silence warnings messages from clang static analysis.
[RT #20256]
2011-03-11 10:50:00 +00:00
Automatic Updater
611c670c11 update copyright notice 2010-12-03 23:45:47 +00:00
Evan Hunt
94c1870f9a 2979. [bug] named could deadlock during shutdown if two
"rndc stop" commands were issued at the same
			time. [RT #22108]
2010-12-03 22:03:41 +00:00
Tatuya JINMEI 神明達哉
85b94d05c0 2937. [bug] Worked around an apparent race condition in over
memory conditions.  Without this fix a DNS cache DB or
			ADB could incorrectly stay in an over memory state,
			effectively refusing further caching, which
			subsequently made a BIND 9 caching server unworkable.
			This fix prevents this problem from happening by
			polling the state of the memory context, rather than
			making a copy of the state, which appeared to cause
			a race.  This is a "workaround" in that it doesn't
			solve the possible race per se, but several experiments
			proved this change solves the symptom.  Also, the
			polling overhead hasn't been reported to be an issue.
			This bug should only affect a caching server that
			specifies a finite max-cache-size.  It's also quite
			likely that the bug happens only when enabling threads,
			but it's not confirmed yet. [RT #21818]
2010-08-11 23:04:21 +00:00
Automatic Updater
a08946269c update copyright notice 2010-06-03 23:47:49 +00:00
Mark Andrews
7e87f04c6d 2910. [func] Sanity check Kerberos credentials. [RT #20986] 2010-06-03 02:35:53 +00:00
Automatic Updater
875245e3c4 update copyright notice 2010-03-04 23:47:53 +00:00
Mark Andrews
ba97097eaf 2955. [bug] The size of a memory allocation was not always properly
recorded. [RT #20927]
2010-03-04 05:59:07 +00:00
Automatic Updater
9feb8eda57 update copyright notice 2010-01-15 23:47:34 +00:00
Evan Hunt
3f39cbcc76 2838. [func] Backport support for SHA-2 DNSSEC algorithms,
RSASHA256 and RSASHA512, from BIND 9.7.  (This
			incorporates changes 2726 and 2738 from that
			release branch.) [RT #20871]
2010-01-15 19:38:54 +00:00
Automatic Updater
d889e9701a update copyright notice 2010-01-11 23:47:22 +00:00
Francis Dupont
6720b9fe94 Prevent Linux spurious warnings about fwrite(). [RT #20812] 2010-01-11 11:02:32 +00:00
Mark Andrews
799a4ab7d7 grammar, line length 2009-10-19 02:46:07 +00:00
Automatic Updater
6500973c26 update copyright notice 2009-06-25 23:47:28 +00:00
Mark Andrews
5870f67ab1 Editorial nits. [RT #19815] 2009-06-25 05:31:52 +00:00
Automatic Updater
b996c77e49 update copyright notice 2009-02-16 23:47:15 +00:00
Mark Andrews
5c4a9f33ca 2556. [cleanup] PCI compliance:
* new libisc log module file
                        * isc_dir_chroot() now also changes the working
                          directory to "/".
                        * additional INSISTs
                        * additional logging when files can't be removed.
2009-02-16 02:04:06 +00:00
Mark Andrews
19f6ed9078 2503. [port] linux: improve compatibility with Linux Standard
Base. [RT #18793]
2009-02-16 01:03:53 +00:00
Automatic Updater
869d896a81 update copyright notice 2009-02-12 23:47:22 +00:00
Mark Andrews
d64c82f27f 2548. [bug] Install iterated_hash.h. [RT #19335] 2009-02-12 22:18:27 +00:00
Tatuya JINMEI 神明達哉
49d33b4bc7 2547. [bug] openssl_link.c:mem_realloc() could reference an
out-of-range area of the source buffer.  New public
			function isc_mem_reallocate() was introduced to address
			this bug. [RT #19313]
2009-02-11 03:07:01 +00:00