[nsd-users] nsd segfaults when serving a TXT record with two strings

W.C.A. Wijngaards wouter at NLnetLabs.nl
Mon Jul 4 15:24:31 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Stephane,

On 07/04/2011 05:15 PM, Stephane Bortzmeyer wrote:
> TXT     "Name of Facility or similar" "City, Country"
> 

That is extremely worrying, but it does not happen for me.

$ dig @::1 -p 10053 example.nl TXT +norec
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25205
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;example.nl.			IN	TXT
;; ANSWER SECTION:
example.nl.		3600	IN	TXT	"Name of Facility or similar" "City, Country"

Here is the zonefile I used:

@	10200	IN	SOA	open.nlnetlabs.nl. hostmaster.nlnetlabs.nl. 2011070101
28800 7200 604800 3600
@	TXT     "Name of Facility or similar" "City, Country"

Can you make clean; make (if you compiled it yourself?).

Can you gdb the server (-d prevents it from forking away from the
terminal) and give a 'bt' stack backtrace?

Best regards,
   Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOEdsuAAoJEJ9vHC1+BF+N5YMP/RWgOOvyXd1wv8xp4Z4Erye6
rY5EN5vYf4gouK4aJANDq+uJwn3qHm+rK2CH8NHrwnw6VhhlLA63d3vjW//SVDRy
a93D9DxN+8d5yrpVJrenP2ZPOjtpWBWikC547g+wec5i04++ZNwiztqZyANVn7B1
v2iL84s/tNVC6Ef/vP+sCKJ5u9J9Bb4438uclUJKPEk6K8h2dIYIxLUwD1Tp37Gm
unxXjy1fNpn+LNxUX+ibk8HnIo/Z/Looc15dA2XAl3fjHSJKNe+b//pblF1K40N4
jldYAbAm8ColVBX4/kwgKYchIBZEhi209zBPUnFvun3ovch7pu95850UtSzlzALz
mLjH2rqKfHs99Bo/B5WvOl9Yojxc/IDcej9zcMmHQw6oJP853Wkpt1+UvXPaNoz8
5upp1RwbG5QaaY7dyeL07RhpXJ+mkgqSgEitlf2aabJ2jMgzekUJw1Il6J6QXZG9
7Z3KViA5unE2giHwvukiM+rbMYKhaB9qZKdAEqbeNt92M8LCZuQBYJHyedP3rNxl
lv3zL0G3yJcFotxtoGrsh7xSO1h4p6Pja6/9H14tTCcBooRn/umlnvGN/zsW2q7s
b5ezISf/Mpg+l+db93cIP5cRWj3NyJxO7ZhjxtOsiFHMJptW2fH9RYsMoP01cb4Y
LoVvWitHHxG44fZbLLV2
=TfJr
-----END PGP SIGNATURE-----



More information about the nsd-users mailing list