nss-pam-ldapd branch master updated. 0.9.2-33-g8532f40
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd branch master updated. 0.9.2-33-g8532f40
- 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.2-33-g8532f40
- Date: Sun, 2 Mar 2014 22:34:12 +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 8532f402ae3316fde351c87d96824b765526a026 (commit)
from 4211961e35501ef89b2897dd1e633f2a983447a7 (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=8532f402ae3316fde351c87d96824b765526a026
commit 8532f402ae3316fde351c87d96824b765526a026
Author: Lukas Slebodnik <lslebodn@redhat.com>
Date: Mon Jan 27 17:04:32 2014 +0100
Fix crash when retrieving large networks entries
If NSS_STATUS_TRYAGAIN is returned from read_one_hostent or
read_one_netent then fp will be closed and function tio_skipall will be
called with NULL pointer.
It could happend in functions:
_nss_ldap_getnetbyname_r
_nss_ldap_getnetbyaddr_r
_nss_ldap_gethostbyname2_r
_nss_ldap_gethostbyaddr_r
Fixes r548 (aka afd5d9b).
diff --git a/nss/hosts.c b/nss/hosts.c
index 7773895..eda739b 100644
--- a/nss/hosts.c
+++ b/nss/hosts.c
@@ -51,8 +51,6 @@
#undef ERROR_OUT_BUFERROR
#define ERROR_OUT_BUFERROR(fp) \
- (void)tio_close(fp); \
- fp = NULL; \
*errnop = ERANGE; \
*h_errnop = TRY_AGAIN; \
return NSS_STATUS_TRYAGAIN;
diff --git a/nss/networks.c b/nss/networks.c
index 6d12ca6..b18d5ca 100644
--- a/nss/networks.c
+++ b/nss/networks.c
@@ -51,8 +51,6 @@
#undef ERROR_OUT_BUFERROR
#define ERROR_OUT_BUFERROR(fp) \
- (void)tio_close(fp); \
- fp = NULL; \
*errnop = ERANGE; \
*h_errnop = TRY_AGAIN; \
return NSS_STATUS_TRYAGAIN;
-----------------------------------------------------------------------
Summary of changes:
nss/hosts.c | 2 --
nss/networks.c | 2 --
2 files changed, 4 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.2-33-g8532f40,
Commits of the nss-pam-ldapd project