tor/src
David Goulet ed57a04a65 hs-v3: Remove a BUG() caused by an acceptable race
hs_client_purge_state() and hs_cache_clean_as_client() can remove a descriptor
from the client cache with a NEWNYM or simply when the descriptor expires.

Which means that for an INTRO circuit being established during that time, once
it opens, we lookup the descriptor to get the IP object but hey surprised, no
more descriptor.

The approach here is minimalist that is accept the race and close the circuit
since we can not continue. Before that, the circuit would stay opened and the
client wait the SockTimeout.

Fixers #28970.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-24 08:50:01 -04:00
..
app Merge remote-tracking branch 'tor-github/pr/1114' into maint-0.3.5 2019-08-30 23:20:59 +10:00
config Merge branch 'maint-0.2.9' into maint-0.3.5 2019-10-02 08:01:33 -04:00
core pf: when extracting an IPv6 address, make sure we got an IPv6 address 2019-09-10 11:07:25 -04:00
ext Prevent double free on huge files with 32 bit. 2019-04-10 12:46:27 +03:00
feature hs-v3: Remove a BUG() caused by an acceptable race 2019-10-24 08:50:01 -04:00
lib Merge remote-tracking branch 'tor-github/pr/1307' into maint-0.3.5 2019-09-17 18:58:06 -04:00
rust Merge branch 'rust-panic1-034' into rust-panic1-035 2019-04-15 10:18:01 +10:00
test entrynodes: Make routine descriptor expiry notice logs less alarming 2019-09-06 16:43:14 +10:00
tools Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
trunnel Merge remote-tracking branch 'nickm/ticket30454_034_01_squashed' into ticket30454_035_01 2019-05-22 11:43:55 -04:00
win32 Bump to 0.3.5.8-dev 2019-02-21 13:24:42 -05:00
include.am Extract the non-stats part of geoip into a new src/lib/geoip. 2018-09-27 10:26:01 -04:00