Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
e6df9494
Commit
e6df9494
authored
Aug 31, 2004
by
Jong Hyuk Choi
Browse files
patch for ITS
#3296
- do not use sl_malloc on normalized attr values
parent
7f22fd5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/schema_init.c
View file @
e6df9494
...
@@ -1977,7 +1977,7 @@ UUIDNormalize(
...
@@ -1977,7 +1977,7 @@ UUIDNormalize(
int
i
;
int
i
;
int
j
;
int
j
;
normalized
->
bv_len
=
16
;
normalized
->
bv_len
=
16
;
normalized
->
bv_val
=
slap_sl
_malloc
(
normalized
->
bv_len
+
1
,
ctx
);
normalized
->
bv_val
=
ch
_malloc
(
normalized
->
bv_len
+
1
);
for
(
i
=
0
,
j
=
0
;
i
<
36
;
i
++
)
{
for
(
i
=
0
,
j
=
0
;
i
<
36
;
i
++
)
{
unsigned
char
nibble
;
unsigned
char
nibble
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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