Opened 13 years ago

Last modified 7 years ago

#350 closed defect (Fixed)

infinite loop on evil controlport input

Reported by: arma Owned by:
Priority: Low Milestone:
Component: Core Tor/Tor Version: 0.1.1.24
Severity: Keywords:
Cc: arma Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

echo -ne "authenticate\r\nsignal newnym\r\nquit\r\n" | telnet localhost 9051

telnet seems to replace the first \n with a \0. I'm not sure why. But when
it does, Tor gets stuck in a loop in find_crlf_on_buf().

r8843 contains a fix to make Tor not die. Is this the right fix? Is there more
to fix?

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (2)

comment:1 Changed 13 years ago by nickm

flyspray2trac: bug closed.
looks ok to me.

comment:2 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.