Commit b2d69a03 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Missing entry causes slapd to segfault (ITS#482)

Fix provide by Paul Turgyan <>
parent b6fb643d
......@@ -20,11 +20,13 @@ str2entry( char *s )
int id = 0;
Entry *e;
Attribute **a;
Attribute **a = NULL;
char *type;
char *value;
char *next;
int vlen, nvals, maxvals;
int vlen;
int nvals = 0;
int maxvals = 0;
struct berval bval;
struct berval *vals[2];
char ptype[64];
Supports Markdown
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