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
6283f4ed
Commit
6283f4ed
authored
Oct 04, 2017
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Fix invalid reads with tracing on (Valgrind).
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f517022e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
request.c
dlls/winhttp/request.c
+3
-3
No files found.
dlls/winhttp/request.c
View file @
6283f4ed
...
@@ -519,7 +519,7 @@ BOOL WINAPI WinHttpAddRequestHeaders( HINTERNET hrequest, LPCWSTR headers, DWORD
...
@@ -519,7 +519,7 @@ BOOL WINAPI WinHttpAddRequestHeaders( HINTERNET hrequest, LPCWSTR headers, DWORD
BOOL
ret
;
BOOL
ret
;
request_t
*
request
;
request_t
*
request
;
TRACE
(
"%p, %s,
0x%x, 0x%08x
\n
"
,
hrequest
,
debugstr_w
(
headers
),
len
,
flags
);
TRACE
(
"%p, %s,
%u, 0x%08x
\n
"
,
hrequest
,
debugstr_wn
(
headers
,
len
),
len
,
flags
);
if
(
!
headers
||
!
len
)
if
(
!
headers
||
!
len
)
{
{
...
@@ -2172,8 +2172,8 @@ BOOL WINAPI WinHttpSendRequest( HINTERNET hrequest, LPCWSTR headers, DWORD heade
...
@@ -2172,8 +2172,8 @@ BOOL WINAPI WinHttpSendRequest( HINTERNET hrequest, LPCWSTR headers, DWORD heade
BOOL
ret
;
BOOL
ret
;
request_t
*
request
;
request_t
*
request
;
TRACE
(
"%p, %s,
0x%x, %u, %u, %lx
\n
"
,
TRACE
(
"%p, %s,
%u, %u, %u, %lx
\n
"
,
hrequest
,
debugstr_wn
(
headers
,
headers_len
),
headers_len
,
optional_len
,
hrequest
,
debugstr_w
(
headers
),
headers_len
,
optional_len
,
total_len
,
context
);
total_len
,
context
);
if
(
!
(
request
=
(
request_t
*
)
grab_object
(
hrequest
)))
if
(
!
(
request
=
(
request_t
*
)
grab_object
(
hrequest
)))
{
{
...
...
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