summaryrefslogtreecommitdiff
path: root/security/pgp5/patches/patch-lib_ttyui_pgpOutput.c
blob: fc17c1c888020ec19d12ffeb4655ae2ecbcc0a4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-lib_ttyui_pgpOutput.c,v 1.1 2014/11/28 10:53:40 bsiegert Exp $

--- lib/ttyui/pgpOutput.c.orig	2014-11-28 10:49:41.000000000 +0000
+++ lib/ttyui/pgpOutput.c
@@ -38,7 +38,7 @@ char OutputHeader[OUTPUT_LAST + 1][4] =
 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,