git.samba.org
/
janger
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a04f19e
)
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 08:51:51 +0000
(08:51 +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 1c4d3a422214b2afbc23066f93f896622dbac4fe..d4c27e4d6543ca0f750b22de8257a270e75168bd 100644
(file)
--- a/
source3/locking/share_mode_lock.c
+++ b/
source3/locking/share_mode_lock.c
@@
-2256,7
+2256,7
@@
static bool share_mode_entry_do(
struct locking_tdb_data *ltdb = NULL;
size_t idx;
bool found = false;
- bool modified;
+ bool modified
= false
;
struct share_mode_entry e;
uint8_t *e_ptr = NULL;
bool have_share_modes;