[Unbound-users] Release of unbound 1.1.0

Aaron Hopkins lists at die.net
Thu Nov 20 02:44:50 UTC 2008


On Tue, 18 Nov 2008, Wouter Wijngaards wrote:
> The version 1.1.0 of unbound is released.

On CentOS 4.7 built via contrib/unbound.spec with only the version number
updated, unbound 1.1.0 stayed up for a little over an hour before dying
with:

   error: accept failed: Resource temporarily unavailable
   fatal error: event_dispatch returned error -1, errno is Bad file descriptor

It looks like there's some error checking missing on the return from
comm_point_perform_accept() in comm_point_tcp_accept_callback() in
util/netevent.c.  I'm guessing it is calling setup_tcp_handler() with new_fd
== -1, which seems likely to cause the event_dispatch() failure.

                                     -- Aaron



More information about the Unbound-users mailing list