Commit Graph
4844 Commits
Author SHA1 Message Date
Brian Wellington a012d6dbfb 746. [bug] The sdb didn't clone rdatasets properly, causing
a crash when the server followed delegations. [RT #905]
2001-02-20 23:20:44 +00:00
Andreas Gustafsson b7d448de55 no need to specifically ask people to mail bind9-bugs about mempool leaks 2001-02-20 22:03:36 +00:00
Brian Wellington f70336b8c9 Cleanups to TSIG/SIG(0) parsing. This should have no noticable effect except
rejecting a few more malformed packets (those with the TSIG/SIG(0) not the
last record) and making best-effort parsing handle multiple TSIG/SIG(0)/OPT in
a message.
2001-02-19 20:14:23 +00:00
Mark Andrews 43de493006 745. [func] Report the owner name on when adding a rdataset
to the internal database fails while loading.
2001-02-19 13:24:04 +00:00
Bob Halley 1e50dad10d When returning DNS_R_CNAME or DNS_R_DNAME as the result of an ANY or SIG
query, the resolver failed to setup the return event's rdatasets, causing an
assertion failure in the query code.  [RT #881]

The fix includes the addition of the DNS_NAMEATTR_CHAINING attribute,
and the removal of the DNS_NAMEATTR_CNAME and DNS_NAMEATTR_DNAME attributes,
because they were not used anywhere in the current source.
2001-02-19 08:54:54 +00:00
Brian Wellington 3bd43bb300 ENSURE that a message's memory pools don't have any allocated data at the
end of msgreset().  This should trigger the mpctx->allocated != 0 assertion
when the leak occurs, not at server shutdown.
2001-02-18 23:46:26 +00:00
Brian Wellington 3f07549972 comment fix 2001-02-18 21:19:43 +00:00
Brian Wellington 62adc5ed76 Call free_namelist() rather than freeing the list manually. 2001-02-17 02:22:43 +00:00
Andreas Gustafsson 19eee89387 if dns_message_gettempname() failed, we would try to call
dns_message_putemprdataset() on an uninitialized pointer
2001-02-17 02:16:14 +00:00
Andreas Gustafsson 52719005ab removed empty line 2001-02-17 01:23:43 +00:00
Brian Wellington 9154e66053 remove compiler warning 2001-02-17 00:53:59 +00:00
Andreas Gustafsson dec0721d45 eliminate compiler warning; need <isc/print.h> 2001-02-17 00:46:58 +00:00
Andreas Gustafsson 4e72c83c94 removed unused variable 2001-02-17 00:23:49 +00:00
Andreas Gustafsson 4a4c888759 eliminate compiler warnings (hopefully) 2001-02-17 00:22:40 +00:00
Andreas Gustafsson b8d0eef0fc new function cfg_parse_buffer() 2001-02-17 00:15:22 +00:00
Brian Wellington 683301a954 fix a potential (but highly unlikely) memory leak. 2001-02-16 21:29:45 +00:00
David Lawrence d5e7142f9d #include <stddef.h> to ensure definition of NULL 2001-02-16 04:14:16 +00:00
Andreas Gustafsson be7c0682f7 rrset-order wants braces around its list 2001-02-16 02:57:40 +00:00
Andreas Gustafsson d0749d582e fix query source parsing 2001-02-16 02:43:30 +00:00
Brian Wellington 9697d96db3 max-names no longer exists 2001-02-16 02:34:33 +00:00
Brian Wellington c7c9f4a989 Use ISC_R_NOTIMPLEMENTED to indicate an unsupported algorithm, not
DST_R_UNSUPPORTEDALG.
2001-02-16 00:54:28 +00:00
Brian Wellington c47ca47629 Remove the old rndc config parser. 2001-02-16 00:47:45 +00:00
Brian Wellington cdee5991b8 Don't include <dst/result.h> 2001-02-16 00:21:09 +00:00
Brian Wellington 06b678ec4a Add const in a few places. 2001-02-15 23:22:27 +00:00
Brian Wellington 94178e98f8 isc_base64_decodestring should take a const char *, not a char * 2001-02-15 23:21:47 +00:00
Brian Wellington 7bd7a2a798 cleaned up some code that Andreas thought was ugly. 2001-02-15 20:10:04 +00:00
Brian Wellington bb136669b6 Use the isc hmac-md5 routines instead of dst. 2001-02-15 19:44:46 +00:00
Brian Wellington d60c005a70 <dns/acl.h> is not needed, but <dns/name.h> is. 2001-02-15 19:13:48 +00:00
Andreas Gustafsson 5e1c2afd10 incorrect indentation 2001-02-15 19:09:55 +00:00
Andreas Gustafsson bd4b8fe050 provide functions to access map names and lists 2001-02-15 18:53:03 +00:00
Brian Wellington 2d67fbd786 80 character lines 2001-02-15 07:58:48 +00:00
Andreas Gustafsson 4e7a39d617 added syntax tables for the rndc.conf file format 2001-02-15 05:14:16 +00:00
Andreas Gustafsson 2b23de3783 merge in new yacc-free configuration parser from the newconfig branch 2001-02-15 04:21:17 +00:00
Andreas Gustafsson be7f273043 merge in new yacc-free configuration parser from the newconfig branch 2001-02-15 04:14:15 +00:00
Brian Wellington 507102c95a In dns_compress_invalidate(), cctx->table cannot be NULL, since it's part of
the cctx structure.
2001-02-15 01:14:16 +00:00
Andreas Gustafsson 449f4411c9 NO NEED TO SHOUT 2001-02-14 23:05:14 +00:00
Brian Wellington 2cb74c5bc5 741. [port] Support openssl-engine. [RT #709] 2001-02-14 20:57:15 +00:00
Brian Wellington 3d60fe9baf 740. [port] Handle openssl library mismatches slightly better. 2001-02-14 20:26:48 +00:00
Mark Andrews 0c6971b8ea Split the load context in two, one part that is visible across all files
the other part that is include file specific.
2001-02-14 13:14:50 +00:00
Andreas Gustafsson 65a66336a6 redid configuration locking using isc_task_beginexclusive()
and isc_task_endexclusive() instead of a multitude of separate
configuration rwlocks
2001-02-14 03:54:53 +00:00
Andreas Gustafsson 1dd8ee4fd5 fctx_addopt() would leak an rdataset if dns_message_setopt() ever failed;
fixed it by making dns_message_setopt() guarantee to either adopt
or free the rdataset
2001-02-14 02:51:12 +00:00
Brian Wellington 8766351a67 general cleanup 2001-02-14 00:43:10 +00:00
Andreas Gustafsson d156c10aee removed extra empty line 2001-02-14 00:29:16 +00:00
Andreas Gustafsson 8f17525ebc in some situations, a request could be cancelled twice 2001-02-13 21:06:25 +00:00
Brian Wellington 47d78f67cb Give more information when isc_mempool_destroy() dies with an assertion
failure, in the hope that we'll be able to fix the bug one day.
2001-02-13 20:29:27 +00:00
Brian Wellington b2c46df291 A receive could be erroneously cancelled because of missing braces around a
block.
2001-02-13 20:21:52 +00:00
Brian Wellington f24c135e09 738. [bug] If a non-threadsafe sdb driver supported AXFR and
received an AXFR request, it would deadlock or die
                        with an assertion failure.
(also some other cleanups)
2001-02-13 20:11:15 +00:00
Mark Andrews 382c4ce5a3 737. [port] stdtime failed to compile on certain platforms. 2001-02-13 13:24:09 +00:00
Mark Andrews ba6e506ed2 #if not #ifdef ISC_MEM_TRACKLINES 2001-02-13 13:20:37 +00:00
Mark Andrews b499a7c511 Print out the active memory prior to INSIST/REQUIRE failures. 2001-02-13 06:21:32 +00:00