The Samba-Bugzilla – Attachment 2799 Details for
Bug 4763
TCP Reset from XP client while copiyng data from two clients.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
look (text/plain), 833 bytes, created by
Jeremy Allison
on 2007-07-05 13:27:28 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2007-07-05 13:27:28 UTC
Size:
833 bytes
patch
obsolete
>Index: smbd/notify.c >=================================================================== >--- smbd/notify.c (revision 23727) >+++ smbd/notify.c (working copy) >@@ -22,6 +22,9 @@ > > #include "includes.h" > >+/* Max size we can send to client in a notify response. */ >+extern int max_send; >+ > struct notify_change_request { > struct notify_change_request *prev, *next; > struct files_struct *fsp; /* backpointer for cancel by mid */ >@@ -146,6 +149,15 @@ > > buflen = smb_size+38+prs_offset(&ps) + 4 /* padding */; > >+ if (buflen > max_send) { >+ /* >+ * We exceed what the client is willing to accept. Send >+ * nothing. >+ */ >+ change_notify_reply_packet(request_buf, NT_STATUS_OK); >+ goto done; >+ } >+ > if (!(outbuf = SMB_MALLOC_ARRAY(char, buflen))) { > change_notify_reply_packet(request_buf, NT_STATUS_NO_MEMORY); > goto done;
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 4763
:
2799
|
2800
|
2824
|
2826