From owner-cvs-src@FreeBSD.ORG Sat Sep 2 08:25:41 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81E6716A4E6; Sat, 2 Sep 2006 08:25:41 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BFA243D49; Sat, 2 Sep 2006 08:25:41 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k828Pf8J075722; Sat, 2 Sep 2006 08:25:41 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k828PfMo075721; Sat, 2 Sep 2006 08:25:41 GMT (envelope-from rwatson) Message-Id: <200609020825.k828PfMo075721@repoman.freebsd.org> From: Robert Watson Date: Sat, 2 Sep 2006 08:25:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/tools/netrate/http http.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2006 08:25:41 -0000 rwatson 2006-09-02 08:25:40 UTC FreeBSD src repository Modified files: tools/tools/netrate/http http.c Log: Enforce the compile-time threads limit at run-time, so that a high thread count argument doesn't cause a segfault or memory corruption when the compile-time array is overrun. Revision Changes Path 1.5 +4 -0 src/tools/tools/netrate/http/http.c