No subject



Fri Mar 7 9:03:12 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Fri, 07 Mar 2003 09:04:09 -0800
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.3/8.12.3) with ESMTP id h27H48lu041427
	for <atanu@tigger.icir.org>; Fri, 7 Mar 2003 09:04:08 -0800 (PST)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
	by wyvern.icir.org (8.12.3/8.12.3) with ESMTP id h27H48fh026377
	for <atanu@icir.org>; Fri, 7 Mar 2003 09:04:08 -0800 (PST)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.icsi.Berkeley.EDU (localhost [127.0.0.1])
	by ICSI.Berkeley.EDU (8.9.0/8.9.0) with ESMTP id JAA05413;
	Fri, 7 Mar 2003 09:04:02 -0800 (PST)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by ICSI.Berkeley.EDU (8.9.0/8.9.0) with ESMTP id JAA05382
	for <xorp-cvs@icsi.berkeley.edu>; Fri, 7 Mar 2003 09:03:12 -0800 (PST)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.3/8.12.3) with ESMTP id h27H3Cfh026365
	for <xorp-cvs@icir.org>; Fri, 7 Mar 2003 09:03:12 -0800 (PST)
	(envelope-from hodson@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.3/8.12.3) with ESMTP id h27H3CAq020734
	for <xorp-cvs@icir.org>; Fri, 7 Mar 2003 09:03:12 -0800 (PST)
	(envelope-from hodson@xorpc.icir.org)
Received: (from hodson@localhost)
	by xorpc.icir.org (8.12.3/8.12.3/Submit) id h27H3ClY020733;
	Fri, 7 Mar 2003 09:03:12 -0800 (PST)
	(envelope-from hodson)
From: Orion Hodson <hodson@icir.org>
Message-Id: <200303071703.h27H3ClY020733@xorpc.icir.org>
Date:     Fri,  7 Mar 2003  9:03:12  ()
To: xorp-cvs@icir.org
Reply-To: hodson@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/libxipc/ test_xrl.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/libxipc/
Changes by:	hodson@xorpc.icir.org.	03/03/07 09:03:12

Modified files:
	xorp/libxipc/: test_xrl.cc 

Log message:
	Fix memory bug resulting from use of c_str() on a temporary string, ie
	
	Xrl x1(...);
	const char* s = x.str().c_str(); // string returned by x.str() is a temporary
	// we're officially screwed here as the memory pointed to by s is tidied
	// in destruction of temporary.
	Xrl x2(s);

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