The Samba-Bugzilla – Attachment 10546 Details for
Bug 10911
SMB2 leases are not yet supported.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Backports for v4-2-test part5
tmp42.diff.txt (text/plain), 1.16 KB, created by
Stefan Metzmacher
on 2014-12-18 07:38:29 UTC
(
hide
)
Description:
Backports for v4-2-test part5
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2014-12-18 07:38:29 UTC
Size:
1.16 KB
patch
obsolete
>From 0e704803a3f92a79aa7bc908dabb8b29aa9cdd1b Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Wed, 17 Dec 2014 10:43:33 +0100 >Subject: [PATCH] s3:locking: fix uninitialiazed variable in > brl_get_locks_readonly_parser() > >In a cluster this can be called with an empty record, while >brl_parse_data() relies on an initialized structure. > >This is a regression in commit 837e29035c911f3509135252c3f423d0f56b606d. > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=10911 > >Signed-off-by: Stefan Metzmacher <metze@samba.org> >Reviewed-by: Ralph Boehme <slow@samba.org> >Reviewed-by: Jeremy Allison <jra@samba.org> >(cherry picked from commit 6bc41c459f6da7de62d2113590bc7d0c2d04e136) >--- > source3/locking/brlock.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c >index b7dcb41..7d4d838 100644 >--- a/source3/locking/brlock.c >+++ b/source3/locking/brlock.c >@@ -2005,6 +2005,7 @@ static void brl_get_locks_readonly_parser(TDB_DATA key, TDB_DATA data, > *state->br_lock = NULL; > return; > } >+ *br_lck = (struct byte_range_lock) {}; > if (!brl_parse_data(br_lck, data)) { > *state->br_lock = NULL; > return; >-- >1.9.1 >
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:
jra
:
review+
vl
:
review+
slow
:
review+
Actions:
View
Attachments on
bug 10911
:
10394
|
10396
|
10397
|
10399
|
10400
|
10401
|
10406
|
10407
|
10411
|
10412
|
10415
|
10416
|
10417
|
10418
|
10421
|
10478
|
10479
|
10481
|
10484
|
10486
|
10488
|
10492
|
10493
|
10507
| 10546