NetBSD Problem Report #49312
From www@NetBSD.org Sat Oct 25 05:31:06 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 9AF10A66B1
for <gnats-bugs@gnats.NetBSD.org>; Sat, 25 Oct 2014 05:31:06 +0000 (UTC)
Message-Id: <20141025053105.69F32A66B8@mollari.NetBSD.org>
Date: Sat, 25 Oct 2014 05:31:05 +0000 (UTC)
From: keiji@hiemalis.org
Reply-To: keiji@hiemalis.org
To: gnats-bugs@NetBSD.org
Subject: pkgsrc/security/pgp5 doesn't work
X-Send-Pr-Version: www-1.0
>Number: 49312
>Category: pkg
>Synopsis: pkgsrc/security/pgp5 doesn't work
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bsiegert
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 25 05:35:00 +0000 2014
>Closed-Date: Fri Nov 28 10:55:42 +0000 2014
>Last-Modified: Fri Nov 28 10:55:42 +0000 2014
>Originator: Wada Keiji
>Release: pkgsrc-2014Q3
>Organization:
>Environment:
NetBSD poker 6.1.5 NetBSD 6.1.5 (GENERIC) amd64
>Description:
The pgp50i has a bug with pgpOutput.c.
>How-To-Repeat:
The pgp5 doesn't work.
>Fix:
--- lib/ttyui/pgpOutput.c.orig 1998-02-08 04:54:57.000000000 +0900
+++ lib/ttyui/pgpOutput.c 2014-10-25 14:13:23.000000000 +0900
@@ -38,7 +38,7 @@
Boolean gShowHeaders = FALSE;
static PREFS *pInternalLanguageStrings = NULL;
-static FILE *OutputHandle[OUTPUT_LAST];
+static FILE *OutputHandle[OUTPUT_LAST + 1];
static int RawOutputID(int OutputType,
PgpSeverityLevel Level,
Boolean DisplayHeader,
>Release-Note:
>Audit-Trail:
From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49312 CVS commit: pkgsrc/security/pgp5
Date: Fri, 28 Nov 2014 10:53:40 +0000
Module Name: pkgsrc
Committed By: bsiegert
Date: Fri Nov 28 10:53:40 UTC 2014
Modified Files:
pkgsrc/security/pgp5: Makefile distinfo
pkgsrc/security/pgp5/patches: patch-lib_pgp_keys_pgpRngRead.c
Added Files:
pkgsrc/security/pgp5/patches: patch-lib_ttyui_pgpOutput.c
Log Message:
Fix off-by-one in tty output library. Patch provided by Wada Keiji in
PR pkg/49312.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/security/pgp5/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/security/pgp5/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/security/pgp5/patches/patch-lib_pgp_keys_pgpRngRead.c
cvs rdiff -u -r0 -r1.1 \
pkgsrc/security/pgp5/patches/patch-lib_ttyui_pgpOutput.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Fri, 28 Nov 2014 10:55:42 +0000
Responsible-Changed-Why:
Taking this.
State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Fri, 28 Nov 2014 10:55:42 +0000
State-Changed-Why:
Patch applied, thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.