The Samba-Bugzilla – Attachment 10333 Details for
Bug 10860
registry is locked after failed RPC registry update
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.6 - 4.2
10860.patch (text/plain), 931 bytes, created by
Volker Lendecke
on 2014-10-09 09:57:22 UTC
(
hide
)
Description:
Patch for 3.6 - 4.2
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2014-10-09 09:57:22 UTC
Size:
931 bytes
patch
obsolete
>From 796f4618ae7fd0a3e7eede15fe28651e2aef6d49 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Wed, 8 Oct 2014 15:39:28 +0200 >Subject: [PATCH] registry: Don't leave dangling transactions > >When a createkey fails due to access denied, we need to do a >transaction_cancel. Otherwise the lock on the db will stay around. > >Signed-off-by: Volker Lendecke <vl@samba.org> >Reviewed-by: Guenther Deschner <gd@samba.org> >Bug: https://bugzilla.samba.org/show_bug.cgi?id=10860 >--- > source3/registry/reg_api.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c >index 47a717b..d1c70ec 100644 >--- a/source3/registry/reg_api.c >+++ b/source3/registry/reg_api.c >@@ -634,7 +634,7 @@ WERROR reg_createkey(TALLOC_CTX *ctx, struct registry_key *parent, > key->token)) > { > err = WERR_ACCESS_DENIED; >- goto done; >+ goto trans_done; > } > > /* >-- >1.8.1.2 >
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
Flags:
vl
:
review+
gd
:
review+
obnox
:
review+
Actions:
View
Attachments on
bug 10860
: 10333