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
3273dff7
Commit
3273dff7
authored
Nov 13, 2016
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Nov 14, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cabinet: Properly initialize internal fci structure (Valgrind).
Signed-off-by:
Detlef Riekenberg
<
wine.dev@web.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3c60e4bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
fci.c
dlls/cabinet/fci.c
+1
-18
No files found.
dlls/cabinet/fci.c
View file @
3273dff7
...
...
@@ -1036,6 +1036,7 @@ HFCI __cdecl FCICreate(
return
NULL
;
}
memset
(
p_fci_internal
,
0
,
sizeof
(
FCI_Int
));
p_fci_internal
->
magic
=
FCI_INT_MAGIC
;
p_fci_internal
->
perf
=
perf
;
p_fci_internal
->
fileplaced
=
pfnfiledest
;
...
...
@@ -1050,26 +1051,8 @@ HFCI __cdecl FCICreate(
p_fci_internal
->
gettemp
=
pfnfcigtf
;
p_fci_internal
->
ccab
=
*
pccab
;
p_fci_internal
->
pccab
=
pccab
;
p_fci_internal
->
fPrevCab
=
FALSE
;
p_fci_internal
->
fNextCab
=
FALSE
;
p_fci_internal
->
fSplitFolder
=
FALSE
;
p_fci_internal
->
fGetNextCabInVain
=
FALSE
;
p_fci_internal
->
pv
=
pv
;
p_fci_internal
->
cdata_in
=
0
;
p_fci_internal
->
cCompressedBytesInFolder
=
0
;
p_fci_internal
->
cFolders
=
0
;
p_fci_internal
->
cFiles
=
0
;
p_fci_internal
->
cDataBlocks
=
0
;
p_fci_internal
->
data
.
handle
=
-
1
;
p_fci_internal
->
fNewPrevious
=
FALSE
;
p_fci_internal
->
estimatedCabinetSize
=
0
;
p_fci_internal
->
statusFolderTotal
=
0
;
p_fci_internal
->
folders_size
=
0
;
p_fci_internal
->
files_size
=
0
;
p_fci_internal
->
placed_files_size
=
0
;
p_fci_internal
->
pending_data_size
=
0
;
p_fci_internal
->
folders_data_size
=
0
;
p_fci_internal
->
compression
=
tcompTYPE_NONE
;
p_fci_internal
->
compress
=
compress_NONE
;
list_init
(
&
p_fci_internal
->
folders_list
);
...
...
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