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:
@ -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':
|
||||
|
Reference in New Issue
Block a user