Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b349a3e3
Commit
b349a3e3
authored
Jul 06, 2022
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Always reset the second input buffer in netcon_secure_connect().
parent
6c465ae8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
net.c
dlls/winhttp/net.c
+2
-4
No files found.
dlls/winhttp/net.c
View file @
b349a3e3
...
...
@@ -343,14 +343,12 @@ DWORD netconn_secure_connect( struct netconn *conn, WCHAR *hostname, DWORD secur
memmove
(
read_buf
,
(
BYTE
*
)
in_bufs
[
0
].
pvBuffer
+
in_bufs
[
0
].
cbBuffer
-
in_bufs
[
1
].
cbBuffer
,
in_bufs
[
1
].
cbBuffer
);
in_bufs
[
0
].
cbBuffer
=
in_bufs
[
1
].
cbBuffer
;
in_bufs
[
1
].
BufferType
=
SECBUFFER_EMPTY
;
in_bufs
[
1
].
cbBuffer
=
0
;
in_bufs
[
1
].
pvBuffer
=
NULL
;
}
assert
(
in_bufs
[
0
].
BufferType
==
SECBUFFER_TOKEN
);
in_bufs
[
1
].
BufferType
=
SECBUFFER_EMPTY
;
in_bufs
[
1
].
cbBuffer
=
0
;
in_bufs
[
1
].
pvBuffer
=
NULL
;
if
(
in_bufs
[
0
].
cbBuffer
+
1024
>
read_buf_size
)
{
BYTE
*
new_read_buf
;
...
...
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