The Samba-Bugzilla – Attachment 3845 Details for
Bug 6009
Setting "min receivefile size = 1" breaks writes.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.2
look (text/plain), 569 bytes, created by
Jeremy Allison
on 2009-01-02 20:20:06 UTC
(
hide
)
Description:
Patch for 3.2
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-01-02 20:20:06 UTC
Size:
569 bytes
patch
obsolete
>diff --git a/source3/smbd/process.c b/source3/smbd/process.c >index 8466e84..67e6067 100644 >--- a/source3/smbd/process.c >+++ b/source3/smbd/process.c >@@ -284,7 +284,7 @@ static NTSTATUS receive_smb_raw_talloc(TALLOC_CTX *mem_ctx, int fd, > > if (CVAL(lenbuf,0) == 0 && > min_recv_size && >- smb_len_large(lenbuf) > min_recv_size && /* Could be a UNIX large writeX. */ >+ smb_len_large(lenbuf) > (min_recv_size + STANDARD_WRITE_AND_X_HEADER_SIZE) && /* Could be a UNIX large writeX. */ > !srv_is_signing_active()) { > > return receive_smb_raw_talloc_partial_read(
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6009
: 3845