diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-06-29 12:00:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-06-29 12:12:58 -0400 |
commit | aec396d9d0c2db18d44c9ad850bedbc01d50e40a (patch) | |
tree | 43d67b9083bafec81bd0a39b6092bc34a6bb353f /src/config | |
parent | 9b3f48c0744bd72cb8b25ac7857476181b29481a (diff) | |
download | tor-aec396d9d0c2db18d44c9ad850bedbc01d50e40a.tar.gz tor-aec396d9d0c2db18d44c9ad850bedbc01d50e40a.zip |
Be more strict about when to accept socks auth message
In the code as it stood, we would accept any number of socks5
username/password authentication messages, regardless of whether we
had actually negotiated username/password authentication. Instead,
we should only accept one, and only if we have really negotiated
username/password authentication.
This patch also makes some fields of socks_request_t into uint8_t,
for safety.
Diffstat (limited to 'src/config')
0 files changed, 0 insertions, 0 deletions