No subject



Wed May 21 14:15:25 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Wed, 21 May 2003 14:16:02 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.8p1/8.12.3) with ESMTP id h4LLG2Kd069243
	for <atanu@tigger.icir.org>; Wed, 21 May 2003 14:16:02 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.icsi.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
	by wyvern.icir.org (8.12.8p1/8.12.3) with ESMTP id h4LLG2DD067183
	for <atanu@icir.org>; Wed, 21 May 2003 14:16:02 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.icsi.Berkeley.EDU (localhost [127.0.0.1])
	by fruitcake.icsi.Berkeley.EDU (8.12.9/8.12.9) with ESMTP id h4LLG2KJ000993;
	Wed, 21 May 2003 14:16:02 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by fruitcake.icsi.Berkeley.EDU (8.12.9/8.12.9) with ESMTP id h4LLFQKJ000977
	for <xorp-cvs@icsi.berkeley.edu>; Wed, 21 May 2003 14:15:26 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.8p1/8.12.3) with ESMTP id h4LLFPDD067181
	for <xorp-cvs@icir.org>; Wed, 21 May 2003 14:15:25 -0700 (PDT)
	(envelope-from hodson@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.8p1/8.12.3) with ESMTP id h4LLFPQg048865
	for <xorp-cvs@icir.org>; Wed, 21 May 2003 14:15:25 -0700 (PDT)
	(envelope-from hodson@xorpc.icir.org)
Received: (from hodson@localhost)
	by xorpc.icir.org (8.12.8p1/8.12.3/Submit) id h4LLFPkn048864;
	Wed, 21 May 2003 14:15:25 -0700 (PDT)
	(envelope-from hodson)
From: Orion Hodson <hodson@icir.org>
Message-Id: <200305212115.h4LLFPkn048864@xorpc.icir.org>
Date:     Wed, 21 May 2003 14:15:25  ()
To: xorp-cvs@icir.org
Reply-To: hodson@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/libxorp/ selector.cc
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>

CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Repository:	xorp/libxorp/
Changes by:	hodson@xorpc.icir.org.	03/05/21 14:15:25

Modified files:
	xorp/libxorp/: selector.cc 

Log message:
	Do not use vector::capacity for vector bounds checking for types with
	constructors.  Otherwise there's a risk of accessing unconstructed
	elements. As an example, if v.size() is 3 and v.capacity is 5, v[3]
	and v[4] should not be used until v.resize(5) is called.

_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs