Bugzilla – Bug 201
NULL pointer dereferencement in unbound
Last modified: 2008-08-04 14:16:46 CEST
Created attachment 76 [details]
The unbound-host tool randomly crashes with a NULL pointer deref.
Tested with Unbound 1.0.1 on OpenBSD/i386 and OpenBSD/amd64 (OpenBSD-current).
Here a trivial way to reproduce this. Try the command several times until it crashes:
$ unbound-host 126.96.36.199
 9271 segmentation fault (core dumped) unbound-host 188.8.131.52
I can reproduce this.
Fix is in subversion trunk. The problem was that udp queries were still waiting for a random port when the application quits. Fixed to handle that correctly.
Thank you for the bugreport and trace,