1
0
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:
Luke Leighton 1999-02-11 17:25:26 +00:00
parent 8b6b6b57b5
commit a71d268114

View File

@ -132,7 +132,7 @@ void cmd_lsa_lookup_names(struct client_info *info)
fstring srv_name;
int num_names = 0;
const char *names[10];
DOM_SID *sids;
DOM_SID *sids = NULL;
int num_sids = 0;
#if 0
DOM_SID sid[10];