summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
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
commit541303d9693c616437850af725e700f85a9e8865 (patch)
treecbe46ee02962bf63c539b621e2abbda4c5b8609c /source3/rpc_parse
parent8c0bb0c2411c53124f0f175b782ec5b0dbcc84ca (diff)
downloadsamba-541303d9693c616437850af725e700f85a9e8865.tar.gz
samba-541303d9693c616437850af725e700f85a9e8865.tar.bz2
samba-541303d9693c616437850af725e700f85a9e8865.zip
Fix for passing NULL pointer as an array parameter in
domain_client_validate() (This used to be commit 3ee111bff78826a5ee419554d4ef2b2b2d3ae7aa)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c
index bcc8e876b5..06430e75e6 100644
--- a/source3/rpc_parse/parse_net.c
+++ b/source3/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 );