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
e86353fd
Commit
e86353fd
authored
Jan 12, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Make sure to initialize the whole z_stream struct (valgrind).
parent
aeb78cba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
http.c
dlls/wininet/http.c
+1
-9
No files found.
dlls/wininet/http.c
View file @
e86353fd
...
@@ -257,17 +257,9 @@ static void init_gzip_stream(http_request_t *req)
...
@@ -257,17 +257,9 @@ static void init_gzip_stream(http_request_t *req)
gzip_stream_t
*
gzip_stream
;
gzip_stream_t
*
gzip_stream
;
int
index
,
zres
;
int
index
,
zres
;
gzip_stream
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
gzip_stream_t
));
gzip_stream
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
gzip_stream_t
));
gzip_stream
->
zstream
.
zalloc
=
wininet_zalloc
;
gzip_stream
->
zstream
.
zalloc
=
wininet_zalloc
;
gzip_stream
->
zstream
.
zfree
=
wininet_zfree
;
gzip_stream
->
zstream
.
zfree
=
wininet_zfree
;
gzip_stream
->
zstream
.
opaque
=
NULL
;
gzip_stream
->
zstream
.
next_in
=
NULL
;
gzip_stream
->
zstream
.
avail_in
=
0
;
gzip_stream
->
zstream
.
next_out
=
NULL
;
gzip_stream
->
zstream
.
avail_out
=
0
;
gzip_stream
->
buf_pos
=
0
;
gzip_stream
->
buf_size
=
0
;
gzip_stream
->
end_of_data
=
FALSE
;
zres
=
inflateInit2
(
&
gzip_stream
->
zstream
,
0x1f
);
zres
=
inflateInit2
(
&
gzip_stream
->
zstream
,
0x1f
);
if
(
zres
!=
Z_OK
)
{
if
(
zres
!=
Z_OK
)
{
...
...
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