git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4480058
)
Fix for bug #771. Fix packet length for browse list reply.
author
Jeremy Allison
<jra@samba.org>
Wed, 5 Nov 2003 00:12:49 +0000
(
00:12
+0000)
committer
Jeremy Allison
<jra@samba.org>
Wed, 5 Nov 2003 00:12:49 +0000
(
00:12
+0000)
Jeremy.
source/nmbd/nmbd_packets.c
patch
|
blob
|
history
diff --git
a/source/nmbd/nmbd_packets.c
b/source/nmbd/nmbd_packets.c
index 72eb1b501994732691b31406dffe7f2e89c49e65..c318689fd19fb0f69c7cfea8b3dd6d19ecec66f0 100644
(file)
--- a/
source/nmbd/nmbd_packets.c
+++ b/
source/nmbd/nmbd_packets.c
@@
-1835,7
+1835,7
@@
BOOL send_mailslot(BOOL unique, const char *mailslot,char *buf, size_t len,
/* Setup the smb part. */
ptr -= 4; /* XXX Ugliness because of handling of tcp SMB length. */
memcpy(tmp,ptr,4);
- set_message(ptr,17,
23
+ len,True);
+ set_message(ptr,17,
strlen(mailslot) + 1
+ len,True);
memcpy(ptr,tmp,4);
SCVAL(ptr,smb_com,SMBtrans);