git.samba.org
/
idra
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
[idra/samba.git]
/
source3
/
utils
/
net_rpc_join.c
diff --git
a/source3/utils/net_rpc_join.c
b/source3/utils/net_rpc_join.c
index cb8a5ee4d4fbad17259ec827c8c1febab0df1982..79c632f8314d37b78a227ced1b4fc3e8e6ad2007 100644
(file)
--- a/
source3/utils/net_rpc_join.c
+++ b/
source3/utils/net_rpc_join.c
@@
-258,7
+258,7
@@
int net_rpc_join_newstyle(int argc, const char **argv)
{
char *str;
str = generate_random_str(DEFAULT_TRUST_ACCOUNT_PASSWORD_LENGTH);
- clear_trust_password =
strdup
(str);
+ clear_trust_password =
SMB_STRDUP
(str);
E_md4hash(clear_trust_password, md4_trust_password);
}