Skip to content

Commit

Permalink
Merge c5df98a into 90abb74
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Nov 4, 2017
2 parents 90abb74 + c5df98a commit 7e5efe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/curl_ntlm_core.c
Expand Up @@ -557,7 +557,7 @@ CURLcode Curl_ntlm_core_mk_nt_hash(struct Curl_easy *data,
unsigned char *ntbuffer /* 21 bytes */)
{
size_t len = strlen(password);
unsigned char *pw = malloc(len * 2);
unsigned char *pw = len ? malloc(len * 2) : strdup("");
CURLcode result;
if(!pw)
return CURLE_OUT_OF_MEMORY;
Expand Down

0 comments on commit 7e5efe0

Please sign in to comment.