mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
uninitialised pointer being freed if lookupnames failed. oops.
(This used to be commit d77de868588b6291353fa7a426b6e5da4b5f2c49)
This commit is contained in:
parent
8b6b6b57b5
commit
a71d268114
@ -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];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user