Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check length of response before accessing it
The NTLM protocol implementation does not validate the length of the proxy server’s response. If the response is shorter than expected, the code will access the response buffer out of bounds, which will raise an exception. This change checks and explicitly raises an exception with an informative message if the response is too short. This was never a security issue as such but might result in a client terminating early and without a nice diagnostic. Signed-off-by: Charlie Vigue <[email protected]>
- Loading branch information