nss-pam-ldapd commit: r1477 - in nss-pam-ldapd-0.7: . nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1477 - in nss-pam-ldapd-0.7: . nslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1477 - in nss-pam-ldapd-0.7: . nslcd
- Date: Sat, 2 Jul 2011 23:28:21 +0200 (CEST)
Author: arthur
Date: Sat Jul 2 23:28:19 2011
New Revision: 1477
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1477
Log:
grow static buffers so that they should be large enough (part of r1476 from
trunk)
Modified:
nss-pam-ldapd-0.7/ (props changed)
nss-pam-ldapd-0.7/nslcd/group.c
nss-pam-ldapd-0.7/nslcd/passwd.c
nss-pam-ldapd-0.7/nslcd/shadow.c
Modified: nss-pam-ldapd-0.7/nslcd/group.c
==============================================================================
--- nss-pam-ldapd-0.7/nslcd/group.c Sat Jul 2 23:20:39 2011 (r1476)
+++ nss-pam-ldapd-0.7/nslcd/group.c Sat Jul 2 23:28:19 2011 (r1477)
@@ -5,7 +5,7 @@
Copyright (C) 1997-2006 Luke Howard
Copyright (C) 2006 West Consulting
- Copyright (C) 2006, 2007, 2008, 2009, 2010 Arthur de Jong
+ Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -181,7 +181,7 @@
/* return the list of members */
static const char **getmembers(MYLDAP_ENTRY *entry,MYLDAP_SESSION *session)
{
- char buf[20];
+ char buf[256];
int i;
const char **values;
SET *set;
Modified: nss-pam-ldapd-0.7/nslcd/passwd.c
==============================================================================
--- nss-pam-ldapd-0.7/nslcd/passwd.c Sat Jul 2 23:20:39 2011 (r1476)
+++ nss-pam-ldapd-0.7/nslcd/passwd.c Sat Jul 2 23:28:19 2011 (r1477)
@@ -5,7 +5,7 @@
Copyright (C) 1997-2005 Luke Howard
Copyright (C) 2006 West Consulting
- Copyright (C) 2006, 2007, 2008, 2009, 2010 Arthur de Jong
+ Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -295,7 +295,7 @@
const char *passwd;
uid_t uids[MAXUIDS_PER_ENTRY];
int numuids;
- char gidbuf[10];
+ char gidbuf[32];
gid_t gid;
char gecos[100];
char homedir[100];
Modified: nss-pam-ldapd-0.7/nslcd/shadow.c
==============================================================================
--- nss-pam-ldapd-0.7/nslcd/shadow.c Sat Jul 2 23:20:39 2011 (r1476)
+++ nss-pam-ldapd-0.7/nslcd/shadow.c Sat Jul 2 23:28:19 2011 (r1477)
@@ -5,7 +5,7 @@
Copyright (C) 1997-2005 Luke Howard
Copyright (C) 2006 West Consulting
- Copyright (C) 2006, 2007, 2008, 2009, 2010 Arthur de Jong
+ Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -111,7 +111,7 @@
static long to_date(const char *date,const char *attr)
{
- char buffer[8];
+ char buffer[32];
long value;
char *tmp;
size_t l;
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1477 - in nss-pam-ldapd-0.7: . nslcd,
Commits of the nss-pam-ldapd project