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
ccefbee7
Commit
ccefbee7
authored
Apr 17, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Fix crashes in PropVariantClear tests under win2000 and XP.
parent
f719ef38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
propvariant.c
dlls/ole32/tests/propvariant.c
+6
-2
No files found.
dlls/ole32/tests/propvariant.c
View file @
ccefbee7
...
...
@@ -196,7 +196,10 @@ static void test_validtypes(void)
VARTYPE
vt
;
memset
(
&
propvar
,
0x55
,
sizeof
(
propvar
));
U
(
propvar
).
pszVal
=
NULL
;
if
(
i
==
VT_RECORD
||
i
==
VT_BLOB
||
i
==
VT_BLOB_OBJECT
)
U
(
propvar
).
uhVal
.
QuadPart
=
0
;
else
U
(
propvar
).
pszVal
=
NULL
;
vt
=
propvar
.
vt
=
i
;
hr
=
PropVariantClear
(
&
propvar
);
expect
(
hr
,
vt
);
...
...
@@ -214,7 +217,8 @@ static void test_validtypes(void)
i
,
U
(
propvar
).
uhVal
.
u
.
LowPart
,
U
(
propvar
).
uhVal
.
u
.
HighPart
);
memset
(
&
propvar
,
0x55
,
sizeof
(
propvar
));
U
(
propvar
).
pszVal
=
NULL
;
U
(
propvar
).
caub
.
cElems
=
0
;
U
(
propvar
).
caub
.
pElems
=
NULL
;
vt
=
propvar
.
vt
=
i
|
VT_VECTOR
;
hr
=
PropVariantClear
(
&
propvar
);
expect
(
hr
,
vt
);
...
...
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