Commit 26620ecc authored by Per Cederqvist's avatar Per Cederqvist

Comment added: isc_getraddress may return NULL, and we don't handle it.

parent 27c569f3
......@@ -80,6 +80,7 @@ isc_tcp_accept_fn(IscHandlerList *UNUSED(hl),
/* Fill in the session info structure */
new_scb->state = ISC_STATE_RUNNING;
new_scb->mode = O_RDWR;
/* FIXME: isc_getraddress may return NULL. Should we fail then? */
new_scb->info.tcp.raddr = isc_getraddress(new_scb);
new_scb->info.tcp.laddr = isc_getladdress(new_scb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment