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
Nadezhda Ivanova
OpenLDAP
Commits
7b115db7
Commit
7b115db7
authored
Aug 09, 1998
by
Kurt Zeilenga
Browse files
RAGE: SLURPD malloc bug in st.c
parent
1596b380
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slurpd/st.c
View file @
7b115db7
...
...
@@ -56,8 +56,7 @@ St_add(
pthread_mutex_unlock
(
&
(
st
->
st_mutex
));
return
NULL
;
}
st
->
st_data
[
ind
]
=
(
Stel
*
)
ch_malloc
(
st
->
st_data
,
sizeof
(
Stel
));
st
->
st_data
[
ind
]
=
(
Stel
*
)
ch_malloc
(
sizeof
(
Stel
)
);
if
(
st
->
st_data
[
ind
]
==
NULL
)
{
pthread_mutex_unlock
(
&
(
st
->
st_mutex
));
return
NULL
;
...
...
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