Skip to content
Snippets Groups Projects
Commit 2f75b34d authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Patch from dgoulet: fix a base16 problem that manifested w stem

parent 5fbd1959
Branches bug16937-02
No related tags found
No related merge requests found
......@@ -1264,7 +1264,7 @@ handle_control_authenticate(control_connection_t *conn, uint32_t len,
password_len = i/2;
password = tor_malloc(password_len + 1);
if (base16_decode(password, password_len+1, body, i)
!= (int) (password_len+1)) {
!= (int) password_len) {
connection_write_str_to_buf(
"551 Invalid hexadecimal encoding. Maybe you tried a plain text "
"password? If so, the standard requires that you put it in "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment