Benno Rice (benno@netizen.com.au) reports "two instances where
read handlers were treating their fd_table read data as a pointer
to an int and attempting to increment it, even though NULL was
passed, or somesuch"
/*
- * $Id: client_side.cc,v 1.480 2000/05/07 16:18:19 adrian Exp $
+ * $Id: client_side.cc,v 1.481 2000/05/11 03:05:23 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
commSetSelect(fd, COMM_SELECT_READ, clientReadRequest, connState, 0);
commSetDefer(fd, clientReadDefer, connState);
clientdbEstablished(peer.sin_addr, 1);
+ assert(N);
(*N)++;
}
}
/*
- * $Id: dns_internal.cc,v 1.22 2000/05/02 22:34:46 hno Exp $
+ * $Id: dns_internal.cc,v 1.23 2000/05/11 03:05:24 wessels Exp $
*
* DEBUG: section 78 DNS lookups; interacts with lib/rfc1035.c
* AUTHOR: Duane Wessels
break;
}
fd_bytes(DnsSocket, len, FD_READ);
+ assert(N);
(*N)++;
debug(78, 3) ("idnsRead: FD %d: received %d bytes from %s.\n",
fd,