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
be9909ad
Commit
be9909ad
authored
Sep 12, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Sep 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Print error messages from RPC message functions when they are called in an invalid way.
parent
8cc3adea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
rpc_message.c
dlls/rpcrt4/rpc_message.c
+11
-1
No files found.
dlls/rpcrt4/rpc_message.c
View file @
be9909ad
...
...
@@ -1005,7 +1005,10 @@ RPC_STATUS WINAPI I_RpcNegotiateTransferSyntax(PRPC_MESSAGE pMsg)
TRACE
(
"(%p)
\n
"
,
pMsg
);
if
(
!
bind
||
bind
->
server
)
{
ERR
(
"no binding
\n
"
);
return
RPC_S_INVALID_BINDING
;
}
/* if we already have a connection, we don't need to negotiate again */
if
(
!
pMsg
->
ReservedForRuntime
)
...
...
@@ -1065,7 +1068,10 @@ RPC_STATUS WINAPI I_RpcGetBuffer(PRPC_MESSAGE pMsg)
TRACE
(
"(%p): BufferLength=%d
\n
"
,
pMsg
,
pMsg
->
BufferLength
);
if
(
!
bind
)
{
ERR
(
"no binding
\n
"
);
return
RPC_S_INVALID_BINDING
;
}
pMsg
->
Buffer
=
I_RpcAllocate
(
pMsg
->
BufferLength
);
TRACE
(
"Buffer=%p
\n
"
,
pMsg
->
Buffer
);
...
...
@@ -1118,7 +1124,11 @@ RPC_STATUS WINAPI I_RpcFreeBuffer(PRPC_MESSAGE pMsg)
TRACE
(
"(%p) Buffer=%p
\n
"
,
pMsg
,
pMsg
->
Buffer
);
if
(
!
bind
)
return
RPC_S_INVALID_BINDING
;
if
(
!
bind
)
{
ERR
(
"no binding
\n
"
);
return
RPC_S_INVALID_BINDING
;
}
if
(
pMsg
->
ReservedForRuntime
)
{
...
...
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