NetBSD Problem Report #48397

From www@NetBSD.org  Fri Nov 22 07:15:48 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8667CA6245
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 22 Nov 2013 07:15:48 +0000 (UTC)
Message-Id: <20131122071547.58A48A6285@mollari.NetBSD.org>
Date: Fri, 22 Nov 2013 07:15:47 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Use rfc2152 for citrus_utf7.c
X-Send-Pr-Version: www-1.0

>Number:         48397
>Category:       lib
>Synopsis:       Use rfc2152 for citrus_utf7.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 22 07:20:00 +0000 2013
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Add "´" to char direct and "*" to char option as in rfc2152 fot utf7.
>How-To-Repeat:

>Fix:
diff -u -p -r1.6 citrus_utf7.c
--- lib/libc/citrus/modules/citrus_utf7.c	28 May 2013 16:57:56 -0000	1.6
+++ lib/libc/citrus/modules/citrus_utf7.c	22 Nov 2013 06:19:44 -0000
@@ -141,9 +141,9 @@ static const char base64[] =
 static const char direct[] =
 	"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
 	"abcdefghijklmnopqrstuvwxyz"
-	"0123456789(),-./:?";
+	"0123456789'(),-./:?";

-static const char option[] = "!\"#$%&';<=>@[]^_`{|}";
+static const char option[] = "!\"#$%&*;<=>@[]^_`{|}";
 static const char spaces[] = " \t\r\n";

 #define	BASE64_BIT	6

NetBSD Home
NetBSD PR Database Search

(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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.