git.samba.org
/
kseeger
/
samba-autobuild-v4-15-test
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c02f82
)
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 09:47:48 +0000
(09:47 +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 80c04fdeda07c947f48d7447a2518c14e0739118..fd8d7c71b9e5f90fcbaff554f3142d80d9a93fba 100644
(file)
--- a/
source3/locking/share_mode_lock.c
+++ b/
source3/locking/share_mode_lock.c
@@
-2150,7
+2150,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 had_share_entries, have_share_entries;