Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
DISCONTINUED:openSUSE:11.2:Update
nss-ldapd
nslcd-passwd-offbyone.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nslcd-passwd-offbyone.dif of Package nss-ldapd
Index: nss-ldapd-0.6.10/nslcd/passwd.c =================================================================== --- nss-ldapd-0.6.10.orig/nslcd/passwd.c +++ nss-ldapd-0.6.10/nslcd/passwd.c @@ -351,7 +351,7 @@ static int write_passwd(TFILE *fp,MYLDAP myldap_get_dn(entry),attmap_passwd_uidNumber); return 0; } - for (numuids=0;(numuids<=MAXUIDS_PER_ENTRY)&&(tmpvalues[numuids]!=NULL);numuids++) + for (numuids=0;(numuids<MAXUIDS_PER_ENTRY)&&(tmpvalues[numuids]!=NULL);numuids++) { uids[numuids]=(uid_t)strtol(tmpvalues[numuids],&tmp,0); if ((*(tmpvalues[numuids])=='\0')||(*tmp!='\0')) Index: nss-ldapd-0.6.10/nslcd/group.c =================================================================== --- nss-ldapd-0.6.10.orig/nslcd/group.c +++ nss-ldapd-0.6.10/nslcd/group.c @@ -269,7 +269,7 @@ static int write_group(TFILE *fp,MYLDAP_ myldap_get_dn(entry),attmap_group_gidNumber); return 0; } - for (numgids=0;(gidvalues[numgids]!=NULL)&&(numgids<=MAXGIDS_PER_ENTRY);numgids++) + for (numgids=0;(gidvalues[numgids]!=NULL)&&(numgids<MAXGIDS_PER_ENTRY);numgids++) { gids[numgids]=(gid_t)strtol(gidvalues[numgids],&tmp,0); if ((*(gidvalues[numgids])=='\0')||(*tmp!='\0'))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor