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
49f1433c
Commit
49f1433c
authored
May 28, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4/tests: Enable some tests that no longer crash Wine.
parent
bb18c5ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
ndr_marshall.c
dlls/rpcrt4/tests/ndr_marshall.c
+4
-8
No files found.
dlls/rpcrt4/tests/ndr_marshall.c
View file @
49f1433c
...
...
@@ -957,11 +957,7 @@ static void test_simple_struct(void)
else
*
(
unsigned
int
*
)
wiredata
=
(
UINT_PTR
)
&
s1
;
memcpy
(
wiredata
+
4
,
&
s1
,
wiredatalen
);
if
(
0
)
{
/* one of the unmarshallings crashes Wine */
test_pointer_marshal
(
fmtstr_simple_struct
,
&
s1
,
24
,
wiredata
,
28
,
NULL
,
0
,
"struct"
);
}
/* zero the entire structure, including the hole */
memset
(
&
ps1
,
0
,
sizeof
(
ps1
));
...
...
@@ -988,14 +984,14 @@ static void test_simple_struct(void)
test_simple_struct_marshal
(
fmtstr_pointer_struct
+
4
,
&
ps1
,
17
,
wiredata
+
4
,
17
,
ps1_cmp
,
2
,
"pointer_struct"
);
if
(
use_pointer_ids
)
{
*
(
unsigned
int
*
)
wiredata
=
0x20000
;
*
(
unsigned
int
*
)(
wiredata
+
8
)
=
0x20004
;
*
(
unsigned
int
*
)(
wiredata
+
12
)
=
0x20008
;
}
else
*
(
unsigned
int
*
)
wiredata
=
(
UINT_PTR
)
&
ps1
;
if
(
0
)
{
/* one of the unmarshallings crashes Wine */
test_pointer_marshal
(
fmtstr_pointer_struct
,
&
ps1
,
17
,
wiredata
,
21
,
ps1_cmp
,
2
,
"pointer_struct"
);
}
}
static
void
test_fullpointer_xlat
(
void
)
...
...
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