1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Fix uninitialised variables. Spotted by "Esh, Andrew" <AEsh@tricord.com>

This commit is contained in:
Tim Potter
-
parent 3af2de7ed2
commit 9081af4fe5

View File

@ -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':