nss-pam-ldapd branch master updated. 0.9.4-11-ged8b312
[Date Prev][
Date Next]
[Thread Prev][
Thread Next]
nss-pam-ldapd branch master updated. 0.9.4-11-ged8b312
- 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 branch master updated. 0.9.4-11-ged8b312
- Date: Mon, 19 Jan 2015 23:03:40 +0100 (CET)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".
The branch, master has been updated
via ed8b312f0968ce4fd9059b0ebb52d993cf3cdf36 (commit)
via 8b3305730e2989d4a57157306e287f81640f50b8 (commit)
from 9ee854e9f9d448676cd0cb9be20cff158febfffc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=ed8b312f0968ce4fd9059b0ebb52d993cf3cdf36
commit ed8b312f0968ce4fd9059b0ebb52d993cf3cdf36
Author: Mark R Bannister <dbis@proseconsulting.co.uk>
Date: Mon Jan 12 18:26:19 2015 +0100
Fix uninitialised variable
This fixes a bug in the NSS library when encountering IPv6 addresses in
the hosts map.
diff --git a/nss/hosts.c b/nss/hosts.c
index acbdb1e..539b74a 100644
--- a/nss/hosts.c
+++ b/nss/hosts.c
@@ -99,7 +99,7 @@ static nss_status_t read_one_hostent(TFILE *fp, struct
hostent *result,
}
else
{
- SKIP(fp, tmpint32);
+ SKIP(fp, tmp2int32);
}
}
/* null-terminate address list */
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=8b3305730e2989d4a57157306e287f81640f50b8
commit 8b3305730e2989d4a57157306e287f81640f50b8
Author: Arthur de Jong <arthur@arthurdejong.org>
Date: Fri Dec 12 20:37:52 2014 +0100
Avoid accessing searches outside array
Thanks David Binderma for pointing this out.
Note that in practical situations this should not result in any errors
due to the position of searches within the ldap_session struct.
diff --git a/nslcd/myldap.c b/nslcd/myldap.c
index cf16dd6..2501974 100644
--- a/nslcd/myldap.c
+++ b/nslcd/myldap.c
@@ -1391,7 +1391,7 @@ MYLDAP_SEARCH *myldap_search(MYLDAP_SESSION *session,
/* allocate a new search entry */
search = myldap_search_new(session, base, scope, filter, attrs);
/* find a place in the session where we can register our search */
- for (i = 0; (session->searches[i] != NULL) && (i < MAX_SEARCHES_IN_SESSION);
i++)
+ for (i = 0; (i < MAX_SEARCHES_IN_SESSION) && (session->searches[i] != NULL);
i++)
/* nothing */ ;
if (i >= MAX_SEARCHES_IN_SESSION)
{
-----------------------------------------------------------------------
Summary of changes:
nslcd/myldap.c | 2 +-
nss/hosts.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
nss-pam-ldapd
--
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 branch master updated. 0.9.4-11-ged8b312,
Commits of the nss-pam-ldapd project