mirror of
https://github.com/samba-team/samba.git
synced 2025-09-17 05:44:20 +03:00
uninitialised pointer being freed if lookupnames failed. oops.
(This used to be commit d77de86858
)
This commit is contained in:
@@ -132,7 +132,7 @@ void cmd_lsa_lookup_names(struct client_info *info)
|
|||||||
fstring srv_name;
|
fstring srv_name;
|
||||||
int num_names = 0;
|
int num_names = 0;
|
||||||
const char *names[10];
|
const char *names[10];
|
||||||
DOM_SID *sids;
|
DOM_SID *sids = NULL;
|
||||||
int num_sids = 0;
|
int num_sids = 0;
|
||||||
#if 0
|
#if 0
|
||||||
DOM_SID sid[10];
|
DOM_SID sid[10];
|
||||||
|
Reference in New Issue
Block a user