ntlmclient: update to latest upstream ntlmclient

This commit is contained in:
Edward Thomson
2023-12-20 21:50:13 +00:00
parent 3261893710
commit 66f587b526

View File

@@ -372,13 +372,13 @@ static inline bool unicode_builtin_encoding_convert(
goto done;
}
out_len = out_start - out;
if ((new_out = realloc(out, out_size)) == NULL) {
ntlm_client_set_errmsg(ntlm, "out of memory");
goto done;
}
out_len = out_start - out;
out = new_out;
out_start = new_out + out_len;
out_end = out + out_size;