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
f687728c
Commit
f687728c
authored
Sep 22, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Properly size complex reference pointers.
parent
6b7ccdb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
ndr_stubless.c
dlls/rpcrt4/ndr_stubless.c
+9
-2
No files found.
dlls/rpcrt4/ndr_stubless.c
View file @
f687728c
...
...
@@ -149,6 +149,15 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
DWORD
size
;
switch
(
*
pFormat
)
{
case
RPC_FC_RP
:
if
(
pFormat
[
1
]
&
RPC_FC_P_SIMPLEPOINTER
)
{
FIXME
(
"Simple reference pointer (type %#x).
\n
"
,
pFormat
[
2
]);
size
=
sizeof
(
void
*
);
break
;
}
size
=
calc_arg_size
(
pStubMsg
,
&
pFormat
[
2
]
+
*
(
WORD
*
)
&
pFormat
[
2
]);
break
;
case
RPC_FC_STRUCT
:
case
RPC_FC_PSTRUCT
:
size
=
*
(
const
WORD
*
)(
pFormat
+
2
);
...
...
@@ -202,8 +211,6 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
break
;
default:
FIXME
(
"Unhandled type %02x
\n
"
,
*
pFormat
);
/* fallthrough */
case
RPC_FC_RP
:
size
=
sizeof
(
void
*
);
break
;
}
...
...
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