--------------------- PatchSet 10651 Date: 2008/07/16 09:09:39 Author: adri Branch: delay_pool_write Tag: (none) Log: Make sure the slow write fds array isn't overflowed. Members: src/comm.c:1.60.2.2->1.60.2.3 Index: squid/src/comm.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/comm.c,v retrieving revision 1.60.2.2 retrieving revision 1.60.2.3 diff -u -r1.60.2.2 -r1.60.2.3 --- squid/src/comm.c 15 Jul 2008 16:33:34 -0000 1.60.2.2 +++ squid/src/comm.c 16 Jul 2008 09:09:39 -0000 1.60.2.3 @@ -1,6 +1,6 @@ /* - * $Id: comm.c,v 1.60.2.2 2008/07/15 16:33:34 adri Exp $ + * $Id: comm.c,v 1.60.2.3 2008/07/16 09:09:39 adri Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -1200,7 +1200,7 @@ { slow_wfds[n_slow_wfds] = fd; n_slow_wfds++; - assert(n_slow_fds < Squid_MaxFD); + assert(n_slow_wfds < Squid_MaxFD); } /* Swap the list over, set the active list to length 0 */