Skip to content
Snippets Groups Projects
Commit cfbeac45 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Missing entry causes slapd to segfault (ITS#482)

Fix provided by pturgyan@umich.edu
parent f28e0c19
No related branches found
No related tags found
Loading
......@@ -33,12 +33,13 @@ Entry *
str2entry( char *s )
{
Entry *e;
Attribute **a;
Attribute **a = NULL;
char *type;
char *value;
char *next;
ber_len_t vlen;
int nvals, maxvals;
int nvals = 0;
int maxvals = 0;
struct berval bval;
struct berval *vals[2];
char ptype[64];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment