1 |
Index: 389-ds-base-1.3.4.14/ldap/servers/plugins/uiduniq/uid.c |
2 |
=================================================================== |
3 |
--- 389-ds-base-1.3.4.14/ldap/servers/plugins/uiduniq/uid.c |
4 |
+++ 389-ds-base-1.3.4.14/ldap/servers/plugins/uiduniq/uid.c 2017-01-20 08:32:41.016100144 -0500 |
5 |
@@ -299,7 +299,7 @@ |
6 |
} |
7 |
|
8 |
/* Store attrName in the config */ |
9 |
- tmp_config->attrs = (const char **) slapi_ch_calloc(1, sizeof(char *)); |
10 |
+ tmp_config->attrs = (const char **) slapi_ch_calloc(2, sizeof(char *)); |
11 |
tmp_config->attrs[0] = slapi_ch_strdup(attrName); |
12 |
argc--; |
13 |
argv++; /* First argument was attribute name and remaining are subtrees */ |
14 |
@@ -340,7 +340,7 @@ |
15 |
* - requiredObjectClass |
16 |
*/ |
17 |
/* Store attrName in the config */ |
18 |
- tmp_config->attrs = (const char **) slapi_ch_calloc(1, sizeof(char *)); |
19 |
+ tmp_config->attrs = (const char **) slapi_ch_calloc(2, sizeof(char *)); |
20 |
tmp_config->attrs[0] = slapi_ch_strdup(attrName); |
21 |
|
22 |
/* There is no subtrees */ |