Commit Graph

391 Commits

Author SHA1 Message Date
Tinderbox User
a79bb92894 update copyright notice / whitespace 2016-07-21 23:48:16 +00:00
Evan Hunt
d8eaff0417 [v9_9] silence clang warnings
4422.	[port]		Silence clang warnings in dig.c and dighost.c.
			[RT #42451]
2016-07-21 15:57:55 -07:00
Mark Andrews
31085192d6 4264. [bug] Check const of strchr/strrchr assignments match
argument's const status. [RT #41150]

(cherry picked from commit 5b1c7ef35b)
2015-11-20 18:41:10 +11:00
Mark Andrews
0ee0aafa30 4204. [bug] 'dig +trace' failed to lookup the correct type if
the initial root ns query was retried. [RT #40296]
`

(cherry picked from commit 295a711b72)
2015-09-12 09:08:18 +10:00
Evan Hunt
05d0d33cb8 [v9_9] timing safe memory comparisons
4183.	[cleanup]	Use timing-safe memory comparisons in cryptographic
			code. Also, the timing-safe comparison functions have
			been renamed to avoid possible confusion with
			memcmp(). [RT #40148]

(cherry picked from commit 420a43c8d8)
2015-08-17 18:31:11 -07:00
Mark Andrews
b009c5c389 4173. [bug] dig +sigchase was not properly matching the trusted
key. [RT #40188]

(cherry picked from commit efb028b6c8)
2015-08-12 19:12:24 +10:00
Mark Andrews
fdb83d87d6 4110. [bug] Address memory leaks / null pointer dereferences
on out of memory. [RT #39310]

(cherry picked from commit b292230ab8)
2015-04-29 03:37:25 +10:00
Mark Andrews
1c33552240 4081. [cleanup] Use dns_rdatalist_init consistently. [RT #38759]
(cherry picked from commit 29d52c001f)
(cherry picked from commit a55c3151b2)
2015-03-03 16:52:02 +11:00
Mukund Sivaraman
1040bbb55a Fix a segfault when running nslookup (#38548)
(cherry picked from commit db93c0def5)
(cherry picked from commit 9b56539c01)

Conflicts:
	lib/isc/app_api.c
	lib/isc/win32/libisc.def.in
2015-02-26 14:33:19 +05:30
Tinderbox User
9cbd625449 update copyright notice / whitespace 2015-01-20 23:47:26 +00:00
Evan Hunt
57f015bd2a [v9_9] clean up gcc -Wshadow warnings
4039.	[cleanup]	Cleaned up warnings from gcc -Wshadow. [RT #37381]
2015-01-20 14:55:41 -08:00
Mark Andrews
a9eee2f2c3 4026. [bug] Fix RFC 3658 reference in dig +sigchase. [RT #38173]
(cherry picked from commit 44032d3918)
2014-12-22 09:40:47 +11:00
Mukund Sivaraman
dde0acf74a Fix a dig segfault due to bad linked list usage [RT #37591]
The crash (#37591) seems to happen because the query is taken out of
lookup->q(query->link), and put on lookup->connecting(query->clink).
The code checks query->link where it is detached (-1 in next pointer).
However, there's no need to call send_tcp_connect() there as the queries
are already connecting at that point.

(cherry picked from commit c5e9423340)
(cherry picked from commit 2d33a22970)
2014-12-03 16:47:56 +05:30
Tinderbox User
c039cd1603 update copyright notice 2014-10-01 23:46:05 +00:00
Mark Andrews
c433c3b9dd 3962. [bug] 'dig +topdown +trace +sigchase' address unhandled error conditions. [RT #34663]
(cherry picked from commit 7d891eaf91)
2014-10-01 10:02:21 +10:00
Tinderbox User
aaa24cf075 update copyright notice 2014-09-30 23:47:13 +00:00
Mark Andrews
57acbfc9c7 3960. [bug] 'dig +sigchase' could loop forever. [RT #37220]
(cherry picked from commit c83b91fb63)
2014-10-01 07:18:49 +10:00
Mark Andrews
966b901a67 3917. [bug] dig, nslookup and host now continue on names that are
too long after applying a search list elements.
                        [RT #36892]
2014-08-21 18:09:27 +10:00
Mark Andrews
8d3e18713e [rt36611]
3903.   [bug]           Improve the accuracy of DiG's reported round trip
                        time. [RT 36611]

(cherry picked from commit bc5db10d72)
2014-07-31 07:46:01 +10:00
Mark Andrews
91ae28a075 [rt36039]
3902.   bug]            liblwres wasn't handling link-local addresses in
                        nameserver clauses in resolv.conf. [RT #36039]

(cherry picked from commit 70be388974)
2014-07-30 23:33:58 +10:00
Mark Andrews
5339a66996 3846. [bug] "dig +notcp ixfr=<serial>" should result in a UDP
ixfr query. [RT #35980]

(cherry picked from commit 05816676bb)
2014-05-14 10:00:50 +10:00
Evan Hunt
b4f8b1b176 [v9_9] dig +trace could fail when retrying with TCP
3770.	[bug]		"dig +trace" could fail with an assertion when it
			needed to fall back to TCP due to a truncated
			response. [RT #24660]
2014-03-01 15:32:58 -08:00
Evan Hunt
8c7ce6d3e6 [v9_9] replace memcpy() with memmove().
3698.	[cleanup]	Replaced all uses of memcpy() with memmove().
			[RT #35120]

(cherry picked from commit ebe54c7d2221c6a0a4b3d96bcae3280c823a45e6)
2014-01-08 16:38:56 -08:00
Mark Andrews
d1f2e3f0b4 3697. [bug] Handle "." as a search list element when IDN support
is enabled. [RT #35133]

(cherry picked from commit d0e3216c21)
2014-01-06 12:34:58 +11:00
Tinderbox User
1fc542b725 update copyright notice 2014-01-05 23:45:38 +00:00
Mark Andrews
f79db810c6 3696. [bug] dig failed to handle AXFR style IXFR responses which
span multiple messages. [RT #35137]

(cherry picked from commit e9649ece3b)
2014-01-06 06:24:02 +11:00
Mark Andrews
3b38a23089 3681. [port] Update the Windows build system to support feature
selection and WIN64 builds.  This is a work in
                        progress. [RT #34160]

(cherry picked from commit c3c8823fed)

Conflicts:
	CHANGES
	bin/check/win32/checktool.dsp.in
	bin/dnssec/win32/dnssectool.dsp.in
	bin/dnssec/win32/importkey.dsp.in
	bin/dnssec/win32/importkey.mak.in
	bin/named/geoip.c
	bin/named/include/named/geoip.h
	bin/tools/win32/rrchecker.dsp.in
	bin/tools/win32/rrchecker.mak.in
	config.h.win32
	lib/dns/geoip.c
	lib/dns/master.c
	lib/dns/win32/libdns.dsp.in
	lib/dns/win32/libdns.mak.in
	lib/isc/mem.c
	lib/isc/stats.c
	lib/isc/win32/file.c
	lib/isc/win32/libisc.def.in
	lib/isc/win32/libisc.mak.in
	lib/isc/win32/stdio.c
	lib/isccc/cc.c
	win32utils/BuildAll.bat
	win32utils/BuildSetup.bat
	win32utils/legacy/BINDBuild.dsw.in
	win32utils/makeversion.pl
	win32utils/setpk11provider.pl
	win32utils/updatelibxml2.pl
	win32utils/win32-build.txt
2013-12-04 13:48:45 +11:00
Evan Hunt
5a91e2b5d4 [v9_9] dig could miss tcp connections when cleaning up
3679.	[bug]		dig could fail to clean up TCP sockets still
			waiting on connect(). [RT #35074]

(cherry picked from commit fb507315d4)
2013-12-02 13:35:07 -08:00
Evan Hunt
14122dd06b [v9_9] previous commit incomplete
(cherry picked from commit 5255b631b1)
2013-11-18 16:00:21 -08:00
Evan Hunt
6c696e0ede [v9_9] win32 portability fix
(cherry picked from commit 2b57986603)
2013-11-18 15:47:33 -08:00
Tinderbox User
36335e7d77 update copyright notice 2013-11-12 23:45:54 +00:00
Mark Andrews
9b7218c2d1 3667. [func] dig: add support to keep the TCP socket open between
successive queries (+[no]keepopen).  [RT #34918]

(cherry picked from commit 2048955015)
2013-11-13 10:29:38 +11:00
Mark Andrews
84ccbc2b48 address memory leak in change #3662, force format matching, attempt to address coverity false positives
(cherry picked from commit 938aea1dc4)
2013-10-26 10:04:52 +11:00
Mark Andrews
3825f576eb %ld.%06g -> %ld.%06d
(cherry picked from commit 7f0e47b3c2)
2013-10-25 12:54:07 +11:00
Tinderbox User
7d69ca6c31 update copyright notice 2013-10-24 23:45:46 +00:00
Mark Andrews
d9b2123e7a 3662. [bug] 'host' could die if a UPD query timed out. [RT #34870]
(cherry picked from commit 6100b17699)
2013-10-25 10:30:20 +11:00
Tinderbox User
e7953a5eff update copyright notice 2013-09-17 23:45:47 +00:00
Mark Andrews
decbadf098 3640. [bug] ndots was not being checked when searching. Only
continue searching on NXDOMAIN responses.  Add the
                        ability to specify ndots to nslookup. [RT #34711]

(cherry picked from commit 8afea636ab)
2013-09-17 11:56:50 +10:00
Tinderbox User
00f7494211 update copyright notice 2013-06-08 23:45:45 +00:00
Evan Hunt
63de57ef64 [v9_9] fix memory leak in sigchase
3588.	[bug]		dig: addressed a memory leak in the sigchase code
			that could cause a shutdown crash.  [RT #33733]
(cherry picked from commit bf0441a339)
2013-06-07 11:16:01 -07:00
Tinderbox User
9791c6c91a update copyright notice 2012-10-18 23:45:54 +00:00
ckb
5e8b36cea2 3397. [bug] dig crashed when using +nssearch with +tcp. [RT #25298] 2012-10-18 17:53:08 -05:00
Mark Andrews
02af9598a1 3393. [bug] 'host -C' could core dump if REFUSED was received.
[RT #31381]
2012-10-16 10:43:54 +11:00
Mark Andrews
bf6acccf9d 3390. [bug] Silence clang compiler warnings. [RT #30417] 2012-10-06 13:21:18 +10:00
Tinderbox User
c82a4a383d update copyright notice 2012-10-03 23:46:00 +00:00
Evan Hunt
8c18302d8b fix coverity issues
3388.	[bug]		Fixed several Coverity warnings. [RT #30996]
2012-10-02 23:46:15 -07:00
Evan Hunt
28c2bc2026 3237. [bug] dig -6 didn't work with +trace. [RT #26906] 2011-12-07 17:23:28 +00:00
Mark Andrews
553197e288 3231. [bug] named could fail to send a uncompressable zone.
[RT #26796]

3230.   [bug[           'dig axfr' failed to properly handle a multi-message
                        axfr with a serial of 0. [RT #26796]
2011-12-01 00:53:58 +00:00
Mark Andrews
411d2914ad 3226. [bug] Address minor resource leakages. [RT #26624] 2011-11-30 00:48:51 +00:00
Mark Andrews
19ae9cbb28 3208. [bug] 'dig -y' handle unknown tsig alorithm better.
[RT #25522]
2011-11-06 23:18:07 +00:00