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:
706770d
)
winbind: Fix CID 1273295 Uninitialized scalar variable
author
Volker Lendecke
<vl@samba.org>
Wed, 4 Mar 2015 09:22:48 +0000
(10:22 +0100)
committer
David Disseldorp
<ddiss@samba.org>
Wed, 4 Mar 2015 13:46:07 +0000
(14:46 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source3/winbindd/idmap.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap.c
b/source3/winbindd/idmap.c
index 841f71067617c037afdea6a4fd4dc93d2bfcd504..70f4e02fd44a9f80b97aff796c41e38bed8e9467 100644
(file)
--- a/
source3/winbindd/idmap.c
+++ b/
source3/winbindd/idmap.c
@@
-172,7
+172,8
@@
static struct idmap_domain *idmap_init_domain(TALLOC_CTX *mem_ctx,
NTSTATUS status;
char *config_option = NULL;
const char *range;
- unsigned low_id, high_id;
+ unsigned low_id = 0;
+ unsigned high_id;
result = talloc_zero(mem_ctx, struct idmap_domain);
if (result == NULL) {