From owner-freebsd-ports Sat Oct 9 1:30: 3 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3CABF14E0D for ; Sat, 9 Oct 1999 01:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA65514; Sat, 9 Oct 1999 01:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from ms.tokyo.jcom.ne.jp (ms.tokyo.jcom.ne.jp [210.234.123.18]) by hub.freebsd.org (Postfix) with ESMTP id 138F314BC2 for ; Sat, 9 Oct 1999 01:26:12 -0700 (PDT) (envelope-from musha@ms.tokyo.jcom.ne.jp) Received: from daemon.my.domain (pc343031.tokyo.jcom.ne.jp [203.140.143.31]) by ms.tokyo.jcom.ne.jp (8.9.1/3.7W 06/01/99) with ESMTP id RAA15430 for ; Sat, 9 Oct 1999 17:26:11 +0900 (JST) Received: by daemon.my.domain (8.9.3/3.7W) id RAA05000; Sat, 9 Oct 1999 17:25:40 +0900 (JST) Message-Id: <14334.64514.338251.26482Z@archon.my.domain> Date: Sat, 09 Oct 1999 17:25:38 +0900 From: Akinori MUSHA aka knu To: FreeBSD-gnats-submit@freebsd.org Subject: ports/14225: Patches for security/pgp5 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14225 >Category: ports >Synopsis: Patches for security/pgp5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 9 01:30:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Akinori MUSHA aka knu >Release: FreeBSD 3.3-STABLE i386 >Organization: A.I.D. >Environment: FreeBSD 3.3-STABLE + ports-current >Description: Patches for security/pgp5. The first one is a fix for a silly typo. I wonder why it didn't cause any errors/warnings during compilation. The second one makes pgp5 take texts which include escape characters (such as iso-2022-jp encoded Japanese mails) as plain texts. >How-To-Repeat: >Fix: --- lib/pgp/keydb/pgpPrefUnix.c~ Mon Aug 11 09:05:32 1997 +++ lib/pgp/keydb/pgpPrefUnix.c Sun Sep 26 15:31:52 1999 @@ -183,7 +183,7 @@ */ if((inf = fopen(fn, "r"))) { name_exists = TRUE; - fclose(inf): + fclose(inf); } /*If we haven't hit anything, either this thing doesn't *exist, or it exists and isn't a directory and we don't --- lib/pgp/utils/pgpFileType.c~ Sun Sep 26 15:23:48 1999 +++ lib/pgp/utils/pgpFileType.c Sun Sep 26 15:28:22 1999 @@ -171,7 +171,7 @@ * 24 CN cancel (can) ILLEGAL * 25 EM end of medium (em) ILLEGAL * 26 SB substitute (sub) legal (CP/M & MS-DOS EOF) - * 27 EC escape (esc) ILLEGAL + * 27 EC escape (esc) legal * 28 FS file separator (is4) ILLEGAL * 29 GS group separator (is3) ILLEGAL * 30 RS record separator (is2) ILLEGAL @@ -199,7 +199,7 @@ do { c = *buf++; - if (c < ' ' && (c < '\a' || c > '\r') && c != 26) + if (c < ' ' && (c < '\a' || c > '\r') && c != 26 && c != 27) return 1; /* Illegal control char */ if ((c & 0x80) && highlimit-- == 0) return 1; /* Too many 8th bits set */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message