mirror of
https://github.com/samba-team/samba.git
synced 2025-01-19 10:03:58 +03:00
Fix length on mailslots. Looks like it should have been 0x17, not decimal 17.
(This used to be commit 8e906a948196be7d630a9b20f3c3d2cbafd545f1)
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. */
|
/* Setup the smb part. */
|
||||||
ptr -= 4; /* XXX Ugliness because of handling of tcp SMB length. */
|
ptr -= 4; /* XXX Ugliness because of handling of tcp SMB length. */
|
||||||
memcpy(tmp,ptr,4);
|
memcpy(tmp,ptr,4);
|
||||||
set_message(ptr,17,17 + len,True);
|
set_message(ptr,17,23 + len,True);
|
||||||
memcpy(ptr,tmp,4);
|
memcpy(ptr,tmp,4);
|
||||||
|
|
||||||
SCVAL(ptr,smb_com,SMBtrans);
|
SCVAL(ptr,smb_com,SMBtrans);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user