Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
ef8123ec
Commit
ef8123ec
authored
Dec 03, 2019
by
Arvid Requate
Committed by
Quanah Gibson-Mount
Jan 09, 2020
Browse files
ITS#9128 fix bus error in strchrlen
parent
b380d3e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/ad.c
View file @
ef8123ec
...
...
@@ -145,7 +145,7 @@ static char *strchrlen(
{
const
char
*
p
;
for
(
p
=
beg
;
*
p
&&
p
<
end
;
p
++
)
{
for
(
p
=
beg
;
p
<
end
&&
*
p
;
p
++
)
{
if
(
*
p
==
ch
)
{
*
len
=
p
-
beg
;
return
(
char
*
)
p
;
...
...
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