Date: Tue, 8 Dec 2009 15:06:39 GMT From: Vyacheslav Anikin <anikinsl@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/141281: [patch] security/pwman Message-ID: <200912081506.nB8F6dgM034537@www.freebsd.org> Resent-Message-ID: <200912081510.nB8FA2NN067739@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141281 >Category: ports >Synopsis: [patch] security/pwman >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 08 15:10:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Vyacheslav Anikin >Release: FreeBSD 8.0-RELEASE i386 >Organization: ZAO Iskratelecom >Environment: FreeBSD avada.iskratelecom.ru 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: If you have the environment variable that is responsible for localization, while a version of gnupg support languages other than English, then when you enter the wrong password to the secret pgp-key program pwman, then all records from the file pwman.db will be removed. This patch corrects this error by setting the environment variable environment LC_ALL = C. >How-To-Repeat: >Fix: Patch attached with submission follows: --- src/pwman.c.orig 2009-12-08 17:54:19.000000000 +0300 +++ src/pwman.c 2009-12-08 17:54:23.000000000 +0300 @@ -151,6 +151,7 @@ int main(int argc, char *argv[]) { + setenv("LC_ALL", "C", 1): pwman_init(argc, argv); ui_run(); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912081506.nB8F6dgM034537>