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
ee5cada2
Commit
ee5cada2
authored
Jul 21, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Don't align the buffer after reading the conformance, we need to read the variance first.
parent
17bc7be5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+0
-3
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
ee5cada2
...
...
@@ -2062,7 +2062,6 @@ static inline ULONG array_read_conformance(
unsigned
char
fc
,
PMIDL_STUB_MESSAGE
pStubMsg
,
PFORMAT_STRING
pFormat
)
{
DWORD
def
,
esize
;
unsigned
char
alignment
;
switch
(
fc
)
{
...
...
@@ -2087,7 +2086,6 @@ static inline ULONG array_read_conformance(
ReadConformance
(
pStubMsg
,
NULL
);
return
safe_multiply
(
esize
,
pStubMsg
->
MaxCount
);
case
RPC_FC_BOGUS_ARRAY
:
alignment
=
pFormat
[
1
]
+
1
;
def
=
*
(
const
WORD
*
)(
pFormat
+
2
);
pFormat
+=
4
;
if
(
IsConformanceOrVariancePresent
(
pFormat
))
pFormat
=
ReadConformance
(
pStubMsg
,
pFormat
);
...
...
@@ -2098,7 +2096,6 @@ static inline ULONG array_read_conformance(
}
pFormat
=
SkipVariance
(
pStubMsg
,
pFormat
);
align_pointer
(
&
pStubMsg
->
Buffer
,
alignment
);
esize
=
ComplexStructSize
(
pStubMsg
,
pFormat
);
return
safe_multiply
(
pStubMsg
->
MaxCount
,
esize
);
default:
...
...
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