mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-11 14:53:13 -05:00
Missing entry causes slapd to segfault (ITS#482)
Fix provided by pturgyan@umich.edu
This commit is contained in:
parent
f28e0c1967
commit
cfbeac4576
1 changed files with 3 additions and 2 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue