No subject
Sat Mar 12 04:25:07 2005
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Fri, 11 Mar 2005 20:26:01 -0800
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.11/8.12.8) with ESMTP id j2C4Q19Y016260
for <atanu@tigger.icir.org>; Fri, 11 Mar 2005 20:26:01 -0800 (PST)
(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.11/8.12.8) with ESMTP id j2C4Q1rQ002071
for <atanu@icir.org>; Fri, 11 Mar 2005 20:26:01 -0800 (PST)
(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.10/8.12.9) with ESMTP id j2C4Q1Mp011460;
Fri, 11 Mar 2005 20:26:01 -0800 (PST)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id j2C4P7Mp011449
for <xorp-cvs@icsi.berkeley.edu>; Fri, 11 Mar 2005 20:25:07 -0800 (PST)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
by wyvern.icir.org (8.12.11/8.12.8) with ESMTP id j2C4P7iH002064
for <xorp-cvs@icir.org>; Fri, 11 Mar 2005 20:25:07 -0800 (PST)
(envelope-from pavlin@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
by xorpc.icir.org (8.12.11/8.12.8) with ESMTP id j2C4P75Y083983
for <xorp-cvs@icir.org>; Fri, 11 Mar 2005 20:25:07 -0800 (PST)
(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
by xorpc.icir.org (8.12.11/8.12.3/Submit) id j2C4P7Nr083982
for xorp-cvs@icir.org; Sat, 12 Mar 2005 04:25:07 GMT
(envelope-from pavlin)
Date: Sat, 12 Mar 2005 04:25:07 GMT
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200503120425.j2C4P7Nr083982@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/libxipc
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/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2005-03-12 04:25:07 UTC
XORP CVS repository
Modified files:
libxipc xrl_atom.cc
Log message:
Bug fix: declare a variable of type uint32_t instead of size_t.
When unpacking an XrlList argument inside XrlAtom::unpack_list(),
the local variable named "nelem" that contains the number of elements
inside an XRL must be defined as uint32_t instead of size_t,
because later the code uses sizeof(nelem) to calculate the number
of consumed bytes. On 64-bit machine, size_t is different from uint32_t,
hence the number of consumed bytes is incorrect.
Bug found on OpenBSD + amd64.
Revision Changes Path
1.18 +2 -2 xorp/libxipc/xrl_atom.cc
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs