vapier 15/07/08 06:45:46
Added: pam_blue-0.9.0-char-locales.patch
pam_blue-0.9.0-bad-log.patch
Log:
Fix by Leho Kraav for username locale matching issues #412941.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key
D2E96200)
Revision Changes Path
1.1 sys-auth/pam_blue/files/pam_blue-0.9.0-char-locales.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_blue/files/pam_blue-0.9.0-char-locales.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_blue/files/pam_blue-0.9.0-char-locales.patch?rev=1.1&content-type=text/plain
Index: pam_blue-0.9.0-char-locales.patch
===================================================================
https://bugs.gentoo.org/412941
fix matching in various locales
patch by Leho Kraav <[email protected]>
--- a/src/lexer.l
+++ b/src/lexer.l
@@ -28,7 +28,7 @@
bluemac { return BLUEMAC; }
@ { return AT;}
; { return SEMICOLON; }
-[a-zA-Z][a-zA-Z0-9_]* { yylval.word = (char *) strdup(yytext); return
WORD; }
+[[:alpha:]][[:alnum:]_-]* { yylval.word = (char *) strdup(yytext); return
WORD; }
{HXDIGD}{HXDIGD}{HXDIG} { yylval.word = (char *) strdup(yytext); return
MAC; }
[0-9][0-9]* { yylval.value = atoi(yytext); return DIGIT; }
= { return EQUAL; }
1.1 sys-auth/pam_blue/files/pam_blue-0.9.0-bad-log.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_blue/files/pam_blue-0.9.0-bad-log.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_blue/files/pam_blue-0.9.0-bad-log.patch?rev=1.1&content-type=text/plain
Index: pam_blue-0.9.0-bad-log.patch
===================================================================
--- a/src/bluepmain.c
+++ b/src/bluepmain.c
@@ -88,7 +88,7 @@
if ( (lst = parse_rc()) == NULL) { /* something goes wrong (no config file,
...) */
user = NULL;
- syslog (LOG_ERR, "Can't parse configuration file [%s]!" CONFIG_FILE);
+ syslog (LOG_ERR, "Can't parse configuration file [%s]!", CONFIG_FILE);
return PAM_AUTH_ERR;
}