git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5109ff
)
uninitialised pointer being freed if lookupnames failed. oops.
author
Luke Leighton
<lkcl@samba.org>
Thu, 11 Feb 1999 17:25:26 +0000
(17:25 +0000)
committer
Luke Leighton
<lkcl@samba.org>
Thu, 11 Feb 1999 17:25:26 +0000
(17:25 +0000)
source/rpcclient/cmd_lsarpc.c
patch
|
blob
|
history
diff --git
a/source/rpcclient/cmd_lsarpc.c
b/source/rpcclient/cmd_lsarpc.c
index de41f286f73bb6c43b0994a69153173aa9dedc3e..be148a7f1d86bce08b8698d63fcbedebd8e2541b 100644
(file)
--- a/
source/rpcclient/cmd_lsarpc.c
+++ b/
source/rpcclient/cmd_lsarpc.c
@@
-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];