/[smeserver]/rpms/cpu/sme10/cpu-1.4.3-empty-attr.patch
ViewVC logotype

Contents of /rpms/cpu/sme10/cpu-1.4.3-empty-attr.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Feb 4 12:17:43 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: cpu-1_4_3-14_el7_sme, HEAD
sme10 branch

1 diff -up cpu-1.4.3/src/plugins/ldap/ld.c.empty-attr cpu-1.4.3/src/plugins/ldap/ld.c
2 --- cpu-1.4.3/src/plugins/ldap/ld.c.empty-attr 2010-11-05 21:18:12.000000000 -0600
3 +++ cpu-1.4.3/src/plugins/ldap/ld.c 2010-11-05 21:19:48.000000000 -0600
4 @@ -282,7 +282,10 @@ ldapBuildListStr (int mod_op, char *mod_
5 {
6 char **temp;
7
8 - if (value == NULL)
9 + if (mod_type == NULL || strlen(mod_type) == strspn(mod_type, " "))
10 + return mods;
11 +
12 + if (value == NULL || strlen(value) == strspn(value, " "))
13 return mods;
14
15 mods = ldapAddList (mods);

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed