X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=gateway.c;h=64ba52364dd1010a93ece0b915bd909b106fde5b;hp=f5d15a56732c3fc6207e1dc0b8ceb75d3e5c555a;hb=07283e4260999ac409ba3fec61a07615dd7d0fee;hpb=767afb7f5d7062d75385b9ab3afdad47d0249a39 diff --git a/gateway.c b/gateway.c index f5d15a56..64ba5236 100644 --- a/gateway.c +++ b/gateway.c @@ -218,6 +218,7 @@ void remember_connection(const struct reusable_connection *connection) return; } + assert(slot < SZ(reusable_connection)); assert(NULL != connection->host); reusable_connection[slot].host = strdup_or_die(connection->host); reusable_connection[slot].sfd = connection->sfd;