git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
728297c
)
s3:winbind: Fix uninitialzed variable warning
author
Andreas Schneider
<asn@samba.org>
Wed, 9 May 2018 16:07:47 +0000
(18:07 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Thu, 17 May 2018 15:30:09 +0000
(17:30 +0200)
Raised by GCC8.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13437
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/winbindd/wb_getpwsid.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/wb_getpwsid.c
b/source3/winbindd/wb_getpwsid.c
index a8f32f2fc94187b886bc306ea81c3b6088626a78..8e114abf965a37f8377cb5a6c2e3cae5cc2b673e 100644
(file)
--- a/
source3/winbindd/wb_getpwsid.c
+++ b/
source3/winbindd/wb_getpwsid.c
@@
-70,7
+70,7
@@
static void wb_getpwsid_queryuser_done(struct tevent_req *subreq)
struct winbindd_pw *pw = state->pw;
struct wbint_userinfo *info;
fstring acct_name;
- const char *output_username;
+ const char *output_username
= NULL
;
char *mapped_name = NULL;
char *tmp;
NTSTATUS status;