git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88ee416
)
locking: Fix an uninitialized variable read
author
Volker Lendecke
<vl@samba.org>
Wed, 3 Mar 2021 18:19:23 +0000
(19:19 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 8 Mar 2021 07:53:17 +0000
(07:53 +0000)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=14636
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
84b634c613352fc1da8e1525d72597c526d534d2
)
source3/locking/share_mode_lock.c
patch
|
blob
|
history
diff --git
a/source3/locking/share_mode_lock.c
b/source3/locking/share_mode_lock.c
index a736bc24469b2924df295ac5419edcfbbccf807d..a0de9f5b0702bb66d4f5e1920b464effd3f3bf2d 100644
(file)
--- a/
source3/locking/share_mode_lock.c
+++ b/
source3/locking/share_mode_lock.c
@@
-1923,7
+1923,7
@@
static void share_mode_entry_do_fn(
struct share_mode_entry_do_state *state = private_data;
size_t idx;
bool found = false;
- bool modified;
+ bool modified
= false
;
struct share_mode_entry e;
struct share_mode_entry_buf buf;
TDB_DATA dbufs[3];