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
effac656
Commit
effac656
authored
May 17, 2006
by
Huw Davies
Committed by
Alexandre Julliard
May 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Don't update StubMsg->MemorySize while unmarshaling.
Add a bunch of marshaling tests (based on a program by Rob Shearman).
parent
8bed7bb6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
0 deletions
+4
-0
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+2
-0
.gitignore
dlls/rpcrt4/tests/.gitignore
+1
-0
Makefile.in
dlls/rpcrt4/tests/Makefile.in
+1
-0
ndr_marshall.c
dlls/rpcrt4/tests/ndr_marshall.c
+0
-0
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
effac656
...
...
@@ -3991,7 +3991,9 @@ static unsigned char *WINAPI NdrBaseTypeUnmarshall(
if
(
fMustAlloc
||
!*
ppMemory
)
{
unsigned
char
*
Buffer
=
pStubMsg
->
Buffer
;
unsigned
long
MemorySize
=
pStubMsg
->
MemorySize
;
*
ppMemory
=
NdrAllocate
(
pStubMsg
,
NdrBaseTypeMemorySize
(
pStubMsg
,
pFormat
));
pStubMsg
->
MemorySize
=
MemorySize
;
pStubMsg
->
Buffer
=
Buffer
;
}
...
...
dlls/rpcrt4/tests/.gitignore
View file @
effac656
Makefile
generated.ok
ndr_marshall.ok
rpc.ok
testlist.c
dlls/rpcrt4/tests/Makefile.in
View file @
effac656
...
...
@@ -7,6 +7,7 @@ IMPORTS = rpcrt4 kernel32
CTESTS
=
\
generated.c
\
ndr_marshall.c
\
rpc.c
@MAKE_TEST_RULES@
...
...
dlls/rpcrt4/tests/ndr_marshall.c
0 → 100644
View file @
effac656
This diff is collapsed.
Click to expand it.
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