mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
Fix length on mailslots. Looks like it should have been 0x17, not decimal 17.
(This used to be commit 8e906a9481
)
This commit is contained in:
parent
4d98ca211e
commit
60078160de
@ -1969,7 +1969,7 @@ BOOL send_mailslot(BOOL unique, char *mailslot,char *buf,int len,
|
||||
/* Setup the smb part. */
|
||||
ptr -= 4; /* XXX Ugliness because of handling of tcp SMB length. */
|
||||
memcpy(tmp,ptr,4);
|
||||
set_message(ptr,17,17 + len,True);
|
||||
set_message(ptr,17,23 + len,True);
|
||||
memcpy(ptr,tmp,4);
|
||||
|
||||
SCVAL(ptr,smb_com,SMBtrans);
|
||||
|
Loading…
Reference in New Issue
Block a user