FS#30139 - [bind] Segmentation fault with nsupdate
Attached to Project:
Arch Linux
Opened by Stefan J. Betz (encbladexp) - Monday, 04 June 2012, 16:42 GMT
Last edited by Gaetan Bisson (vesath) - Thursday, 07 June 2012, 06:00 GMT
Opened by Stefan J. Betz (encbladexp) - Monday, 04 June 2012, 16:42 GMT
Last edited by Gaetan Bisson (vesath) - Thursday, 07 June 2012, 06:00 GMT
|
Details
Hi,
i am using nsupdate from bind 9.9.1-1, and trying to update some remote DNS Records: nsupdate -y domain.tld.:magickey > server domain.tld Segmentation fault I found this entry in my kernel log: Jun 04 18:40:55 pc2007 kernel: nsupdate[14189]: segfault at 0 ip 0000000000407aba sp 00007fff6e42e280 error 4 in nsupdate[400000+e000] Any ideas? |
This task depends upon
Could you give this a try?
So long as I cannot reproduce this, I will not be able to investigate anything, so you will need to work it out on your own...
nsupdate
> server localhost
Segfault...
Yes, nsupdate segfaults also without any arguments too.
To fix this, I came up with the attached patch although I'm not sure if this doesn't break other things...
I've submitted it upstream and will wait to hear back from them before taking any action on our package.
In the meantime, a workaround is to specify all arguments in your requests to nsupdate; here, you were missing the port number, which would give "server localhost 53" or so...