From owner-freebsd-alpha Fri Aug 10 6:30:52 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.neca.com (mail.neca.com [204.213.250.15]) by hub.freebsd.org (Postfix) with ESMTP id 756E137B401; Fri, 10 Aug 2001 06:30:48 -0700 (PDT) (envelope-from brandon@thebiz.net) Received: from localhost (poyner@localhost) by mail.neca.com (8.11.4/8.11.4) with ESMTP id f7ADUlt00227; Fri, 10 Aug 2001 09:30:47 -0400 (EDT) X-Authentication-Warning: mail.neca.com: poyner owned process doing -bs Date: Fri, 10 Aug 2001 09:30:47 -0400 (EDT) From: Brandon Poyner X-X-Sender: To: Cc: Subject: patch for pgp-5.0i Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The port for pgp-5.0i (pgpe) segfaults under the alpha architecture. This is due to a call to ringNameName using an int rather than a size_t. The alpha Linux community has discovered this problem too. http://linux-green.lanl.gov/linux/lists/axp-list/html/1817.html *** apps/pgp/filter.c.orig Thu Aug 9 17:39:07 2001 --- apps/pgp/filter.c Thu Aug 9 17:39:20 2001 *************** *** 269,275 **** struct RingIterator *NameIter = NULL; union RingObject *name; Boolean OKToUse = FALSE, FoundName = FALSE; ! int len = 0; int trust; char *TempNameString = NULL; --- 269,275 ---- struct RingIterator *NameIter = NULL; union RingObject *name; Boolean OKToUse = FALSE, FoundName = FALSE; ! size_t len = 0; int trust; char *TempNameString = NULL; -- Brandon Lee Poyner, Unix Systems Engineer brandon@thebiz.net BiznessOnline.com, Inc. http://www.BiznessOnline.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message