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
71c3bf2b
Commit
71c3bf2b
authored
Jul 21, 2018
by
Marcus Meissner
Committed by
Alexandre Julliard
Aug 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Read vt into a DWORD, as propvariant->vt is 16 bit (Coverity).
Signed-off-by:
Marcus Meissner
<
marcus@jet.franken.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1e24f7da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
stg_prop.c
dlls/ole32/stg_prop.c
+3
-1
No files found.
dlls/ole32/stg_prop.c
View file @
71c3bf2b
...
...
@@ -1045,11 +1045,13 @@ static HRESULT PropertyStorage_ReadProperty(PROPVARIANT *prop, const BYTE *data,
UINT
codepage
,
void
*
(
WINAPI
*
allocate
)(
void
*
this
,
ULONG
size
),
void
*
allocate_data
)
{
HRESULT
hr
=
S_OK
;
DWORD
vt
;
assert
(
prop
);
assert
(
data
);
StorageUtl_ReadDWord
(
data
,
0
,
(
DWORD
*
)
&
prop
->
vt
);
StorageUtl_ReadDWord
(
data
,
0
,
&
vt
);
data
+=
sizeof
(
DWORD
);
prop
->
vt
=
vt
;
switch
(
prop
->
vt
)
{
case
VT_EMPTY
:
...
...
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