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
576c9dc6
Commit
576c9dc6
authored
Jan 13, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Jan 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Allocate a context handle if a NULL GUID is being unmarshalled.
parent
528ad9eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ndr_contexthandle.c
dlls/rpcrt4/ndr_contexthandle.c
+3
-2
No files found.
dlls/rpcrt4/ndr_contexthandle.c
View file @
576c9dc6
...
...
@@ -320,6 +320,7 @@ NDR_SCONTEXT WINAPI NDRSContextUnmarshall2(RPC_BINDING_HANDLE hBinding,
RpcBinding
*
binding
=
hBinding
;
NDR_SCONTEXT
SContext
;
RPC_STATUS
status
;
const
ndr_context_handle
*
context_ndr
=
pBuff
;
TRACE
(
"(%p %p %08x %p %u)
\n
"
,
hBinding
,
pBuff
,
DataRepresentation
,
CtxGuard
,
Flags
);
...
...
@@ -330,12 +331,12 @@ NDR_SCONTEXT WINAPI NDRSContextUnmarshall2(RPC_BINDING_HANDLE hBinding,
if
(
Flags
&
RPC_CONTEXT_HANDLE_FLAGS
)
FIXME
(
"unimplemented flags: 0x%x
\n
"
,
Flags
&
RPC_CONTEXT_HANDLE_FLAGS
);
if
(
!
pBuff
)
if
(
!
pBuff
||
(
!
context_ndr
->
attributes
&&
UuidIsNil
((
UUID
*
)
&
context_ndr
->
uuid
,
&
status
)))
status
=
RpcServerAssoc_AllocateContextHandle
(
binding
->
Assoc
,
CtxGuard
,
&
SContext
);
else
{
const
ndr_context_handle
*
context_ndr
=
pBuff
;
if
(
context_ndr
->
attributes
)
{
ERR
(
"non-null attributes 0x%x
\n
"
,
context_ndr
->
attributes
);
...
...
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