git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c38114
)
Fix uninitialised variables. Spotted by "Esh, Andrew" <AEsh@tricord.com>
author
Tim Potter
<tpot@samba.org>
Wed, 29 Aug 2001 22:47:59 +0000
(22:47 +0000)
committer
Tim Potter
<tpot@samba.org>
Wed, 29 Aug 2001 22:47:59 +0000
(22:47 +0000)
(This used to be commit
9081af4fe584d222c00587d6d3c81e12d6611222
)
source3/utils/smbpasswd.c
patch
|
blob
|
history
diff --git
a/source3/utils/smbpasswd.c
b/source3/utils/smbpasswd.c
index 3911987991b073e74a54be91cddf5f908ce2e97e..e02a8115a1172f9b6b2be547d071d8ac14b67fd0 100644
(file)
--- a/
source3/utils/smbpasswd.c
+++ b/
source3/utils/smbpasswd.c
@@
-555,6
+555,9
@@
static int process_root(int argc, char *argv[])
char *old_passwd = NULL;
char *remote_machine = NULL;
+ ZERO_STRUCT(user_name);
+ ZERO_STRUCT(user_password);
+
while ((ch = getopt(argc, argv, "ax:d:e:hmnj:r:sR:D:U:L")) != EOF) {
switch(ch) {
case 'L':