From 285cd429f731082e1378c7e1362b083103c8a426 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Mon, 28 Apr 2014 02:46:50 +0200 Subject: Imported Upstream version 4.2.1 --- acls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'acls.c') diff --git a/acls.c b/acls.c index 7521cc2..3b1669c 100644 --- a/acls.c +++ b/acls.c @@ -182,7 +182,7 @@ struct acluser **up; #endif (*up)->u_Esc = DefaultEsc; (*up)->u_MetaEsc = DefaultMetaEsc; - strncpy((*up)->u_name, name, 20); + strncpy((*up)->u_name, name, MAXLOGINLEN); (*up)->u_password = NULL; if (pass) (*up)->u_password = SaveStr(pass); -- cgit v1.2.3