]> git.ipfire.org Git - thirdparty/tor.git/commit
Do not even try to keep going on a socket with socklen==0
authorNick Mathewson <nickm@torproject.org>
Mon, 19 Dec 2011 19:37:52 +0000 (14:37 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 21 Dec 2011 16:19:41 +0000 (11:19 -0500)
commitb5e6bbc01dc5d89285aba8a1440a2f5833e531a5
tree781fc1236d9380cc8271259451edaa4293b9d799
parentcefff11950d0b80de02bc956d5eb21ceeb81260c
Do not even try to keep going on a socket with socklen==0

Back in #1240, r1eo linked to information about how this could happen
with older Linux kernels in response to nmap.  Bugs #4545 and #4547
are about how our approach to trying to deal with this condition was
broken and stupid.  Thanks to wanoskarnet for reminding us about #1240.

This is a fix for the abovementioned bugs, and is a bugfix on
0.1.0.3-rc.
changes/bug1240 [new file with mode: 0644]
src/or/connection.c