summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse/parse_net.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-07-10 04:56:30 +0000
committerTim Potter <tpot@samba.org>2000-07-10 04:56:30 +0000
commit3ee111bff78826a5ee419554d4ef2b2b2d3ae7aa (patch)
treefbb415cdf726eb14e69db03a03f0856d3964c521 /source/rpc_parse/parse_net.c
parent1478198b709b26d0007a8ff0586c34fc6f37a9d2 (diff)
downloadsamba-3ee111bff78826a5ee419554d4ef2b2b2d3ae7aa.tar.gz
samba-3ee111bff78826a5ee419554d4ef2b2b2d3ae7aa.tar.xz
samba-3ee111bff78826a5ee419554d4ef2b2b2d3ae7aa.zip
Fix for passing NULL pointer as an array parameter in
domain_client_validate()
Diffstat (limited to 'source/rpc_parse/parse_net.c')
-rw-r--r--source/rpc_parse/parse_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_parse/parse_net.c b/source/rpc_parse/parse_net.c
index bcc8e876b54..06430e75e67 100644
--- a/source/rpc_parse/parse_net.c
+++ b/source/rpc_parse/parse_net.c
@@ -765,8 +765,8 @@ void init_id_info2(NET_ID_INFO_2 *id, char *domain_name,
uint32 param_ctrl, uint32 log_id_low, uint32 log_id_high,
char *user_name, char *wksta_name,
unsigned char lm_challenge[8],
- unsigned char lm_chal_resp[24],
- unsigned char nt_chal_resp[24])
+ unsigned char *lm_chal_resp,
+ unsigned char *nt_chal_resp)
{
int len_domain_name = strlen(domain_name);
int len_user_name = strlen(user_name );