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
6518b728
Commit
6518b728
authored
Jul 13, 2015
by
Huw Davies
Committed by
Alexandre Julliard
Jul 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Initialize CorrDespIncrement to zero and mark the pre-Vista behaviour as broken.
parent
76f9d933
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ndr_clientserver.c
dlls/rpcrt4/ndr_clientserver.c
+1
-0
ndr_marshall.c
dlls/rpcrt4/tests/ndr_marshall.c
+3
-3
No files found.
dlls/rpcrt4/ndr_clientserver.c
View file @
6518b728
...
...
@@ -120,6 +120,7 @@ unsigned char* WINAPI NdrServerInitializeNew( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_M
pStubMsg
->
pPointerQueueState
=
NULL
;
pStubMsg
->
IgnoreEmbeddedPointers
=
0
;
pStubMsg
->
PointerBufferMark
=
NULL
;
pStubMsg
->
CorrDespIncrement
=
0
;
pStubMsg
->
uFlags
=
0
;
pStubMsg
->
UniquePtrCount
=
0
;
pStubMsg
->
pfnAllocate
=
pStubDesc
->
pfnAllocate
;
...
...
dlls/rpcrt4/tests/ndr_marshall.c
View file @
6518b728
...
...
@@ -1320,9 +1320,9 @@ todo_wine
ok
(
stubMsg
.
ReuseBuffer
==
0
||
broken
(
stubMsg
.
ReuseBuffer
==
1
),
/* win2k */
"stubMsg.ReuseBuffer should have been set to zero instead of %d
\n
"
,
stubMsg
.
ReuseBuffer
);
ok
(
stubMsg
.
CorrDespIncrement
==
0
xcc
||
stubMsg
.
CorrDespIncrement
==
0
,
"CorrDespIncrement should have been
unset
instead of 0x%x
\n
"
,
stubMsg
.
CorrDespIncrement
);
ok
(
stubMsg
.
CorrDespIncrement
==
0
||
broken
(
stubMsg
.
CorrDespIncrement
==
0xcc
),
/* <= Win 2003 */
"CorrDespIncrement should have been
set to zero
instead of 0x%x
\n
"
,
stubMsg
.
CorrDespIncrement
);
ok
(
stubMsg
.
FullPtrXlatTables
==
0
,
"stubMsg.BufferLength should have been 0 instead of %p
\n
"
,
stubMsg
.
FullPtrXlatTables
);
}
...
...
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