Commit Graph
8625 Commits
Author SHA1 Message Date
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 50448dc92a typo 2001-02-18 21:20:29 +00:00
Brian Wellington 3f07549972 comment fix 2001-02-18 21:19:43 +00:00
Brian Wellington b270a97754 Fix a case where the client could theoretically not free a temporary name.
It'll never happen, since dns_rdata_tostruct() cannot fail when passed a NULL
mctx, but it's more correct this way.
2001-02-18 05:56:16 +00:00
Brian Wellington e6743c1b25 Don't call get_address when processing "-b address". The address can't be a
host name, and if it's not a valid address, it would call isc_app_block()
and assert since isc_app_run() had not been called yet before calling the
resolver.  This could be seen by running:
	dig @localhost xbill.org -b 127.0.0.1:1111
which now exits with an error.
2001-02-17 20:27:24 +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
Brian Wellington 7e966e0088 typos 2001-02-17 01:25:34 +00:00
Andreas Gustafsson 52719005ab removed empty line 2001-02-17 01:23:43 +00:00
Brian Wellington b79adacaad Add more authors. 2001-02-17 01:09:22 +00:00
Andreas Gustafsson 1a77d17120 minor style fixes 2001-02-17 01:05:30 +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
Brian Wellington 73edea95c7 the fcntl() problem with /dev/random still exists on FreeBSD 4.2 if running as
non-root.
2001-02-17 00:46:11 +00:00
Andreas Gustafsson 01254cbbd4 eliminate compiler warning 2001-02-17 00:41:03 +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
Andreas Gustafsson 40c1177517 xref 743. -> RT #861 2001-02-16 21:43:01 +00:00
Andreas Gustafsson c8d185ad58 743. [bug] Receiving a large number of certain malformed
answers could cause named to stop responding.
(The buggy code was removed from the mainline in dispatch.c revision 1.90;
it will be fixed differently on the 9.1 release branch)
2001-02-16 21:37:57 +00:00
Brian Wellington 683301a954 fix a potential (but highly unlikely) memory leak. 2001-02-16 21:29:45 +00:00
Bob Halley ca5f363de5 add distcleaning for gendvi.sh, genpdf.sh, and nominum-docbook-print.dsl 2001-02-16 18:49:27 +00:00
Bob Halley 0f0cc237f3 ignore nominum-docbook-print.dsl 2001-02-16 18:48:28 +00:00
David Lawrence 7c8b86e762 lib/dns/include is still needed to find files included via bin/named/include 2001-02-16 04:17:00 +00:00
David Lawrence d5e7142f9d #include <stddef.h> to ensure definition of NULL 2001-02-16 04:14:16 +00:00
Andreas Gustafsson adf199832b the rrset-order option was missing 2001-02-16 03:07:40 +00:00
Brian Wellington b4dd47007d Fix the definitions of rrset-order, sortlist, and topology. 2001-02-16 03:03:08 +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 f31fd1e949 Remove dispatch_test, which is also using lots of no longer existing API calls. 2001-02-16 01:12:09 +00:00
Brian Wellington 5a027af2a9 update 2001-02-16 01:08:53 +00:00
Brian Wellington a1c4585f1c Remove ndcconf_test, since the old ndc parser is gone. Remove
dispatch_tcp_test, since the only parts of the dispatcher api it used
no longer exist.
2001-02-16 01:07:37 +00:00
Brian Wellington c44ecc9bb8 #include <dns/acl.h> 2001-02-16 01:00:42 +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 8f66dad939 Make rndc use the new config parser. If anyone has any rndc.conf files
sitting around, testing them would be nice.
2001-02-16 00:41:43 +00:00
Brian Wellington cdee5991b8 Don't include <dst/result.h> 2001-02-16 00:21:09 +00:00
Brian Wellington ede71ac5d2 fix suspicious (yet correct) use of strncat() in get_address() [RT #863] 2001-02-16 00:04:18 +00:00
Brian Wellington f22ef00109 fix the potential buffer overflow in printgreeting() [RT #863] 2001-02-15 23:57:22 +00:00
Ben Cottrell d8dde7c9fb Style fixes per Andreas, functionality fixes per Michael Sawyer.
The printgreeting() stuff is fixed once and for all by the change
to clone_lookup... I think this is the "right" way of doing it.
2001-02-15 23:44:08 +00:00
Andreas Gustafsson 7aff04f5d0 removed unused struct field client::disconnect 2001-02-15 23:42:54 +00:00
Brian Wellington 22cafd0ece 742. [placeholder] 2001-02-15 23:40:02 +00:00
Brian Wellington c3de05e48a send usage to stderr, not stdout. 2001-02-15 23:26:29 +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
Eric Luce ee14337c77 test cvs commit 2001-02-15 22:00:32 +00:00
Brian Wellington 7bd7a2a798 cleaned up some code that Andreas thought was ugly. 2001-02-15 20:10:04 +00:00
Brian Wellington e51477c9c4 Don't need to initialize dst anymore. 2001-02-15 19:45:27 +00:00
Brian Wellington bb136669b6 Use the isc hmac-md5 routines instead of dst. 2001-02-15 19:44:46 +00:00