Merge branch 'maint-0.4.4'

This commit is contained in:
George Kadianakis 2020-07-09 17:08:34 +03:00
commit b1a32761be
2 changed files with 7 additions and 2 deletions

3
changes/ticket34087 Normal file
View File

@ -0,0 +1,3 @@
o Minor bugfix (onion service v3 client):
- Remove a BUG() warning that can occur naturally. Fixes bug 34087; bugfix
on 0.3.2.1-alpha.

View File

@ -1066,8 +1066,10 @@ close_or_reextend_intro_circ(origin_circuit_t *intro_circ)
tor_assert(intro_circ);
desc = hs_cache_lookup_as_client(&intro_circ->hs_ident->identity_pk);
if (BUG(desc == NULL)) {
/* We can't continue without a descriptor. */
if (desc == NULL) {
/* We can't continue without a descriptor. This is possible if the cache
* was cleaned up between the intro point established and the reception of
* the introduce ack. */
goto close;
}
/* We still have the descriptor, great! Let's try to see if we can