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
Ondřej Kuzník
OpenLDAP
Commits
7e7fad5e
Commit
7e7fad5e
authored
Apr 21, 2022
by
Ondřej Kuzník
Browse files
ITS#9828 Fix ldap_count_values_len pointer confusion
parent
059c7dbc
Pipeline
#4249
passed with stage
in 45 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/getvalues.c
View file @
7e7fad5e
...
...
@@ -159,7 +159,15 @@ ldap_count_values( char **vals )
int
ldap_count_values_len
(
struct
berval
**
vals
)
{
return
(
ldap_count_values
(
(
char
**
)
vals
)
);
int
i
;
if
(
vals
==
NULL
)
return
0
;
for
(
i
=
0
;
!
BER_BVISNULL
(
vals
[
i
]
);
i
++
)
;
/* NULL */
return
i
;
}
void
...
...
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