/[packages]/cauldron/389-ds-base/current/SOURCES/389-ds-base-1.3.4.14_CVE-2017-2591.patch
ViewVC logotype

Contents of /cauldron/389-ds-base/current/SOURCES/389-ds-base-1.3.4.14_CVE-2017-2591.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1084237 - (show annotations) (download)
Mon Jan 30 16:01:56 2017 UTC (7 years, 8 months ago) by mrambo3501
File size: 1330 byte(s)
add upstream patch to fix CVE-2017-2591
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 */

  ViewVC Help
Powered by ViewVC 1.1.30