Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4fd56146
Commit
4fd56146
authored
Jul 30, 2023
by
Sven Baars
Committed by
Alexandre Julliard
Aug 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ldap: Free the output buffer after every InitializeSecurityContextA() call (Valgrind).
parent
2d17c0ff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tls_w.c
libs/ldap/libldap/tls_w.c
+3
-1
No files found.
libs/ldap/libldap/tls_w.c
View file @
4fd56146
...
...
@@ -228,7 +228,9 @@ tlsw_session_connect( LDAP *ld, tls_session *session, const char *name_in )
expected
-=
size
;
}
out_bufs
[
0
].
cbBuffer
=
max_token
;
FreeContextBuffer
(
out_bufs
[
0
].
pvBuffer
);
out_bufs
[
0
].
pvBuffer
=
NULL
;
status
=
InitializeSecurityContextA
(
&
s
->
cred_handle
,
&
s
->
ctxt_handle
,
(
SEC_CHAR
*
)
name_in
,
flags
,
0
,
0
,
&
in_buf_desc
,
0
,
NULL
,
&
out_buf_desc
,
&
attrs
,
NULL
);
if
(
status
==
SEC_E_INCOMPLETE_MESSAGE
)
{
...
...
Write
Preview
Markdown
is supported
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