[nss_ldap] - keep track of the associated upstream bug IDs - don't use an initial buffer size that's almost alw

Nalin Dahyabhai nalin at fedoraproject.org
Fri Aug 20 19:09:21 UTC 2010


commit 352d2c93950c088f359ebd88149649f7b3582338
Author: Nalin Dahyabhai <nalin at redhat.com>
Date:   Fri Aug 20 14:53:54 2010 -0400

    - keep track of the associated upstream bug IDs
    - don't use an initial buffer size that's almost always going to result
      in multiple attempts

 nss_ldap-265-depth.patch                  |    2 +-
 nss_ldap-265-ent_internal.patch           |    2 +-
 nss_ldap-265-initgroups-minimum_uid.patch |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/nss_ldap-265-depth.patch b/nss_ldap-265-depth.patch
index f07724a..a1bd07f 100644
--- a/nss_ldap-265-depth.patch
+++ b/nss_ldap-265-depth.patch
@@ -1,6 +1,6 @@
 Check if we can use thread-local storage, and if we can, use one to avoid a
 self-deadlock if we recurse into our own host resolution routines from inside
-of another lookup attempt.
+of another lookup attempt.  Revised from patch originally submitted for #340.
 
 diff -up nss_ldap-265/config.h.in nss_ldap-265/config.h.in
 --- nss_ldap-265/config.h.in	2009-11-06 05:28:08.000000000 -0500
diff --git a/nss_ldap-265-ent_internal.patch b/nss_ldap-265-ent_internal.patch
index 7ffbd51..c4592da 100644
--- a/nss_ldap-265-ent_internal.patch
+++ b/nss_ldap-265-ent_internal.patch
@@ -1,5 +1,5 @@
 Distinguish between contexts that are somewhat persistent and one-offs
-which are used to fulfill part of a larger request.
+which are used to fulfill part of a larger request.  Proposed for #322.
 
 diff -up nss_ldap-265/ldap-grp.c nss_ldap-265/ldap-grp.c
 --- nss_ldap-265/ldap-grp.c	2010-01-08 17:38:38.000000000 -0500
diff --git a/nss_ldap-265-initgroups-minimum_uid.patch b/nss_ldap-265-initgroups-minimum_uid.patch
index fdcf56a..44f454c 100644
--- a/nss_ldap-265-initgroups-minimum_uid.patch
+++ b/nss_ldap-265-initgroups-minimum_uid.patch
@@ -1,6 +1,6 @@
 This builds off of the recursion checking introduced by -depth to avoid
 a deadlock if/when we recurse into ourselves while looking up the user's
-UID to compare it to the configured value.
+UID to compare it to the configured value.  Revision for upstream #341.
 
 diff -ur nss_ldap-265/ldap-nss.c nss_ldap-265-2/ldap-nss.c
 --- nss_ldap-265/ldap-nss.c	2010-08-19 17:16:51.000000000 -0400
@@ -42,7 +42,7 @@ diff -ur nss_ldap-265/ldap-nss.c nss_ldap-265-2/ldap-nss.c
 +      if (__config->ldc_initgroups_minimum_uid >= 0)
 +        {
 +          memset (&pwd, 0, sizeof(pwd));
-+          buflen = 16;
++          buflen = 0x100;
 +          buf = malloc(buflen);
 +          if (buf != NULL)
 +            {


More information about the scm-commits mailing list