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
0ced865a
Commit
0ced865a
authored
Apr 20, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Apr 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Don't apply the offset to the pointer passed to callback conformance functions.
parent
8d363376
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+6
-5
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
0ced865a
...
...
@@ -358,16 +358,16 @@ PFORMAT_STRING ComputeConformanceOrVariance(
switch
(
pFormat
[
0
]
&
0xf0
)
{
case
RPC_FC_NORMAL_CONFORMANCE
:
TRACE
(
"normal conformance, ofs=%d
\n
"
,
ofs
);
ptr
=
pMemory
+
ofs
;
ptr
=
pMemory
;
break
;
case
RPC_FC_POINTER_CONFORMANCE
:
TRACE
(
"pointer conformance, ofs=%d
\n
"
,
ofs
);
ptr
=
pStubMsg
->
Memory
+
ofs
;
ptr
=
pStubMsg
->
Memory
;
break
;
case
RPC_FC_TOP_LEVEL_CONFORMANCE
:
TRACE
(
"toplevel conformance, ofs=%d
\n
"
,
ofs
);
if
(
pStubMsg
->
StackTop
)
{
ptr
=
pStubMsg
->
StackTop
+
ofs
;
ptr
=
pStubMsg
->
StackTop
;
}
else
{
/* -Os mode, *pCount is already set */
...
...
@@ -382,7 +382,7 @@ PFORMAT_STRING ComputeConformanceOrVariance(
case
RPC_FC_TOP_LEVEL_MULTID_CONFORMANCE
:
FIXME
(
"toplevel multidimensional conformance, ofs=%d
\n
"
,
ofs
);
if
(
pStubMsg
->
StackTop
)
{
ptr
=
pStubMsg
->
StackTop
+
ofs
;
ptr
=
pStubMsg
->
StackTop
;
}
else
{
/* ? */
...
...
@@ -395,7 +395,7 @@ PFORMAT_STRING ComputeConformanceOrVariance(
switch
(
pFormat
[
1
])
{
case
RPC_FC_DEREFERENCE
:
ptr
=
*
(
LPVOID
*
)
ptr
;
ptr
=
*
(
LPVOID
*
)
((
char
*
)
ptr
+
ofs
)
;
break
;
case
RPC_FC_CALLBACK
:
{
...
...
@@ -410,6 +410,7 @@ PFORMAT_STRING ComputeConformanceOrVariance(
goto
finish_conf
;
}
default:
ptr
=
(
char
*
)
ptr
+
ofs
;
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