The Samba-Bugzilla – Attachment 8684 Details for
Bug 9722
Samba does not properly handle Oplock breaks in compound requests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A better patch that has seen more testing
samba-fix-compound-oplock-break.patch (text/plain), 995 bytes, created by
Richard Sharpe
on 2013-03-26 18:07:59 UTC
(
hide
)
Description:
A better patch that has seen more testing
Filename:
MIME Type:
Creator:
Richard Sharpe
Created:
2013-03-26 18:07:59 UTC
Size:
995 bytes
patch
obsolete
>--- samba-3.6.12/source3/smbd/smb2_server.c.orig 2013-03-26 17:37:30.003228403 -0700 >+++ samba-3.6.12/source3/smbd/smb2_server.c 2013-03-26 17:38:44.139582046 -0700 >@@ -941,28 +941,13 @@ NTSTATUS smbd_smb2_request_pending_queue > return NT_STATUS_OK; > } > >- if (req->in.vector_count > i + 3) { >- /* >- * We're trying to go async in a compound >- * request chain. This is not allowed. >- * Cancel the outstanding request. >- */ >- bool ok = tevent_req_cancel(req->subreq); >- if (ok) { >- return NT_STATUS_OK; >- } >- TALLOC_FREE(req->subreq); >- return smbd_smb2_request_error(req, >- NT_STATUS_INTERNAL_ERROR); >- } >- > if (DEBUGLEVEL >= 10) { > dbgtext("smbd_smb2_request_pending_queue: req->current_idx = %u\n", > (unsigned int)req->current_idx ); > print_req_vectors(req); > } > >- if (req->out.vector_count > 4) { >+ if (req->out.vector_count > 4 && req->current_idx > 1) { > /* This is a compound reply. We > * must do an interim response > * followed by the async response
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 9722
:
8646
|
8647
| 8684 |
8844
|
8846
|
8847
|
8869
|
8873