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:
be3e851
)
s3: Fix uninitialized variables
author
Volker Lendecke
<vl@samba.org>
Sat, 5 Mar 2011 16:37:53 +0000
(17:37 +0100)
committer
Volker Lendecke
<vlendec@samba.org>
Sat, 5 Mar 2011 16:25:43 +0000
(17:25 +0100)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Mar 5 17:25:43 CET 2011 on sn-devel-104
source3/winbindd/winbindd_cm.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_cm.c
b/source3/winbindd/winbindd_cm.c
index f221532824e030e1a769b7cc4a2a60b6708b2b06..8a21f473315d300f5ce0f10521281ff60071e336 100644
(file)
--- a/
source3/winbindd/winbindd_cm.c
+++ b/
source3/winbindd/winbindd_cm.c
@@
-1431,7
+1431,8
@@
static void store_current_dc_in_gencache(const char *domain_name,
struct cli_state *cli)
{
char addr[INET6_ADDRSTRLEN];
- char *key, *value;
+ char *key = NULL;
+ char *value = NULL;
if (cli == NULL) {
return;