diff options
author | Tim Potter <tpot@samba.org> | 2000-07-10 04:56:30 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-07-10 04:56:30 +0000 |
commit | 541303d9693c616437850af725e700f85a9e8865 (patch) | |
tree | cbe46ee02962bf63c539b621e2abbda4c5b8609c | |
parent | 8c0bb0c2411c53124f0f175b782ec5b0dbcc84ca (diff) | |
download | samba-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)
-rw-r--r-- | source3/rpc_client/cli_login.c | 4 | ||||
-rw-r--r-- | 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 ); |