Unverified Commit 0667c771 by Edward Thomson Committed by GitHub

Merge pull request #6704 from libgit2/ethomson/ntlmclient

ntlmclient: update to latest upstream ntlmclient
parents 713cf838 66f587b5
...@@ -372,13 +372,13 @@ static inline bool unicode_builtin_encoding_convert( ...@@ -372,13 +372,13 @@ static inline bool unicode_builtin_encoding_convert(
goto done; goto done;
} }
out_len = out_start - out;
if ((new_out = realloc(out, out_size)) == NULL) { if ((new_out = realloc(out, out_size)) == NULL) {
ntlm_client_set_errmsg(ntlm, "out of memory"); ntlm_client_set_errmsg(ntlm, "out of memory");
goto done; goto done;
} }
out_len = out_start - out;
out = new_out; out = new_out;
out_start = new_out + out_len; out_start = new_out + out_len;
out_end = out + out_size; out_end = out + out_size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment