ports/141281: [patch] security/pwman
Vyacheslav Anikin
anikinsl at gmail.com
Tue Dec 8 15:10:03 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list