Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
7b1f2d85
Commit
7b1f2d85
authored
Dec 25, 2004
by
Sang Seok Lim
Browse files
Bug fix: invalid return value
parent
27c81721
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/slapd-modules/comp_match/componentlib.c
View file @
7b1f2d85
...
...
@@ -2026,9 +2026,9 @@ RetrieveOidDecoderMappingbyOid( char* ch_oid, int oid_len ) {
mem_op
=
comp_nibble_memory_allocator
(
128
,
16
);
oid
.
octs
=
EncodeComponentOid
(
mem_op
,
ch_oid
,
&
oid_len
);
oid
.
octetLen
=
oid_len
;
if
(
strL
en
<=
0
)
{
if
(
oid_l
en
<=
0
)
{
comp_nibble_memory_free
(
mem_op
);
return
;
return
NULL
;
}
/* use encoded oid as hash string */
...
...
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