From 541303d9693c616437850af725e700f85a9e8865 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 10 Jul 2000 04:56:30 +0000 Subject: Fix for passing NULL pointer as an array parameter in domain_client_validate() (This used to be commit 3ee111bff78826a5ee419554d4ef2b2b2d3ae7aa) --- source3/rpc_client/cli_login.c | 4 ++-- source3/rpc_parse/parse_net.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/rpc_client/cli_login.c b/source3/rpc_client/cli_login.c index 7c7398243d..205ccc7a24 100644 --- a/source3/rpc_client/cli_login.c +++ b/source3/rpc_client/cli_login.c @@ -156,8 +156,8 @@ password equivalents over the network. JRA. ****************************************************************************/ BOOL cli_nt_login_network(struct cli_state *cli, char *domain, char *username, - uint32 smb_userid_low, char lm_chal[8], char lm_chal_resp[24], - char nt_chal_resp[24], + uint32 smb_userid_low, char lm_chal[8], + char *lm_chal_resp, char *nt_chal_resp, NET_ID_INFO_CTR *ctr, NET_USER_INFO_3 *user_info3) { DEBUG(5,("cli_nt_login_network: %d\n", __LINE__)); 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 ); -- cgit