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
3a56eca1
Commit
3a56eca1
authored
Jun 20, 2006
by
Huw Davies
Committed by
Alexandre Julliard
Jun 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Don't use a short to hold the packet length, since it can
result in premature termination of the send.
parent
74b750d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rpc_message.c
dlls/rpcrt4/rpc_message.c
+1
-1
No files found.
dlls/rpcrt4/rpc_message.c
View file @
3a56eca1
...
...
@@ -282,7 +282,7 @@ static RPC_STATUS RPCRT4_SendAuth(RpcConnection *Connection, RpcPktHdr *Header,
Header
->
common
.
flags
&=
~
RPC_FLG_LAST
;
while
(
!
(
Header
->
common
.
flags
&
RPC_FLG_LAST
))
{
unsigned
char
auth_pad_len
=
AuthLength
?
ROUND_UP_AMOUNT
(
BufferLength
,
AUTH_ALIGNMENT
)
:
0
;
unsigned
shor
t
pkt_size
=
BufferLength
+
hdr_size
+
alen
+
auth_pad_len
;
unsigned
in
t
pkt_size
=
BufferLength
+
hdr_size
+
alen
+
auth_pad_len
;
/* decide if we need to split the packet into fragments */
if
(
pkt_size
<=
Connection
->
MaxTransmissionSize
)
{
...
...
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