[Bug 1258003] [NEW] DiG crashes on +nssearch with +tcp [Outdated in Ubuntu repo]

2013-12-04 Thread Joshua Rogers
Public bug reported:

Precursor: 'DiG' is provided in the package "bind9", and the version in DiG is 
the same version of bind9.
Whilst running 'DiG', with +ssearch, AND +tcp, on the DiG version that is 
available in the repo's("DiG 9.8.1-P1"), the program segfaults with a core dump.

Example:

13:13:14 (toil@laptop) ~ $ dig -v
DiG 9.8.1-P1
13:13:37 (toil@laptop) ~ $ dig +time=3 +nssearch +tcp internot.info
socket.c:2535: REQUIRE(socketp != ((void *)0) && *socketp == ((void *)0)) 
failed, back trace
#0 0x4f877b in ??
#1 0x4f86c4 in ??
#2 0x52b062 in ??
#3 0xfd03ef in ??
#4 0xfd07c3 in ??
#5 0x51b9ac in ??
#6 0x7cdd4c in ??
#7 0x1ffbae in ??
Aborted (core dumped)


It's strange that it gives a back trace, but that's irrelevant anyways.

Although I'm unsure of which version exactly it's fixed in, but it doesn't work 
in "DiG 9.10.0a1".
It also seems to be patched in "DiG 9.8.4-P2", but that probably isn't useful 
(due to the P2)..

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: bind9-host 1:9.8.1.dfsg.P1-4ubuntu0.7
ProcVersionSignature: Ubuntu 3.2.0-56.86-generic 3.2.51
Uname: Linux 3.2.0-56-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
Date: Thu Dec  5 13:11:08 2013
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: bind9
UpgradeStatus: Upgraded to precise on 2013-08-26 (100 days ago)

** Affects: bind9 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 precise

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in Ubuntu.
https://bugs.launchpad.net/bugs/1258003

Title:
  DiG crashes on +nssearch with +tcp [Outdated in Ubuntu repo]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1258003/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1258003] Re: DiG crashes on +nssearch with +tcp [Outdated in Ubuntu repo]

2013-12-05 Thread Joshua Rogers
Erm, it looks like /usr/bin/dig is actually provided by `dnsutils', not
bind9. Strange.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in Ubuntu.
https://bugs.launchpad.net/bugs/1258003

Title:
  DiG crashes on +nssearch with +tcp [Outdated in Ubuntu repo]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1258003/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1258003] Re: DiG crashes on +nssearch with +tcp [Outdated in Ubuntu repo]

2014-10-28 Thread Joshua Rogers
Just an update on this: It is patched in Ubuntu 14.04.1.

I have identified another bug in DiG which is yet to be patched in any
versions of bind(I only just reported it now), which affects those that
use ipv6.

megamansec@megamansec:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 14.04.1 LTS
Release:14.04
Codename:   trusty

megamansec@megamansec:~$ dig +time=3 +nssearch +tcp internot.info
;; Connection to 2400:cb00:2049:1::adf5:3b95#53(2400:cb00:2049:1::adf5:3b95) 
for internot.info failed: network unreachable.
Segmentation fault

megamansec@megamansec:~$ dig +time=3 +nssearch +tcp google.com
SOA ns1.google.com. dns-admin.google.com. 2014101500 7200 1800 1209600 300 from 
server 216.239.38.10 in 231 ms.
SOA ns1.google.com. dns-admin.google.com. 2014101500 7200 1800 1209600 300 from 
server 216.239.32.10 in 238 ms.
SOA ns1.google.com. dns-admin.google.com. 2014101500 7200 1800 1209600 300 from 
server 216.239.36.10 in 239 ms.
SOA ns1.google.com. dns-admin.google.com. 2014101500 7200 1800 1209600 300 from 
server 216.239.34.10 in 283 ms.


So, perhaps before pushing anything, wait for ISC to fix the most recent bug I 
identified.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in Ubuntu.
https://bugs.launchpad.net/bugs/1258003

Title:
  DiG crashes on +nssearch with +tcp [Outdated in Ubuntu repo]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1258003/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs