Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shawn McKinney
OpenLDAP
Commits
b2d69a03
Commit
b2d69a03
authored
Mar 17, 2000
by
Kurt Zeilenga
Browse files
Missing entry causes slapd to segfault (ITS#482)
Fix provide by Paul Turgyan <pturgyan@umich.edu>
parent
b6fb643d
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/entry.c
View file @
b2d69a03
...
...
@@ -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
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment