Commit 24807705 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5747

parent 199362a0
......@@ -11,7 +11,8 @@ OpenLDAP 2.4.13 Engineering
Added slapd-bdb/hdb dbpagesize keyword
Added slapd-bdb/hdb checksum keyword
Fixed slapo-chain/translucent back-config support (ITS#5736)
Fixed slapd-chain segv with search references (ITS#5742)
Fixed slapo-chain segv with search references (ITS#5742)
Fixed slapo-collect compile with C89 (ITS#5747)
Added slapo-constraint support for LDAP URI constraints (ITS#5704)
Added slapo-constraint support for constraining rename (ITS#5703)
Added slapo-constraint support for relax control (ITS#5705)
......
......@@ -46,7 +46,7 @@ typedef struct collect_info {
struct collect_info *ci_next;
struct berval ci_dn;
int ci_ad_num;
AttributeDescription *ci_ad[];
AttributeDescription *ci_ad[1];
} collect_info;
/*
......@@ -176,7 +176,7 @@ collect_cf( ConfigArgs *c )
/* allocate config info with room for attribute array */
ci = ch_malloc( sizeof( collect_info ) +
( sizeof (AttributeDescription *) * (count + 1)));
sizeof( AttributeDescription * ) * count );
/* validate and normalize dn */
ber_str2bv( c->argv[1], 0, 0, &bv );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment