The Samba-Bugzilla – Attachment 13267 Details for
Bug 12832
Crash in the reentrant smbd_smb2_create_send() if the something fails in the subsequent try
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Additional patch
patch.txt (text/plain), 1.13 KB, created by
Volker Lendecke
on 2017-06-09 14:51:02 UTC
(
hide
)
Description:
Additional patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2017-06-09 14:51:02 UTC
Size:
1.13 KB
patch
obsolete
>From 55e4cc6316d616a95d6e4706f270ae423246298e Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Fri, 9 Jun 2017 16:30:33 +0200 >Subject: [PATCH] fix > >Old smbd_smb2_create_state has some valuable info > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=12832 >--- > source3/smbd/smb2_create.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c >index 0a5d0ec..346e0a6 100644 >--- a/source3/smbd/smb2_create.c >+++ b/source3/smbd/smb2_create.c >@@ -500,9 +500,18 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx, > DEBUG(10,("smbd_smb2_create: name[%s]\n", > in_name)); > } else { >+ struct smbd_smb2_create_state *old_state = tevent_req_data( >+ smb2req->subreq, struct smbd_smb2_create_state); >+ > DEBUG(10,("smbd_smb2_create_send: reentrant for file %s\n", > in_name )); >+ >+ state->id = old_state->id; >+ state->request_time = old_state->request_time; >+ state->open_rec = talloc_move(state, &old_state->open_rec); >+ state->open_was_deferred = old_state->open_was_deferred; > } >+ > TALLOC_FREE(smb2req->subreq); > smb2req->subreq = req; > >-- >2.1.4 >
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 12832
:
13266
| 13267 |
13333
|
13334