mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Merge branch 'maint-0.3.5' into maint-0.4.2
This commit is contained in:
commit
fd8ce812b0
3
changes/ticket28992
Normal file
3
changes/ticket28992
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
o Minor bugfixes (onion service v3, client):
|
||||||
|
- Remove a BUG() that is causing a stacktrace for a situation that very
|
||||||
|
rarely happens but still can. Fixes bug 28992; bugfix on 0.3.2.1-alpha.
|
@ -606,9 +606,14 @@ send_introduce1(origin_circuit_t *intro_circ,
|
|||||||
/* We need to find which intro point in the descriptor we are connected to
|
/* We need to find which intro point in the descriptor we are connected to
|
||||||
* on intro_circ. */
|
* on intro_circ. */
|
||||||
ip = find_desc_intro_point_by_ident(intro_circ->hs_ident, desc);
|
ip = find_desc_intro_point_by_ident(intro_circ->hs_ident, desc);
|
||||||
if (BUG(ip == NULL)) {
|
if (ip == NULL) {
|
||||||
/* If we can find a descriptor from this introduction circuit ident, we
|
/* The following is possible if the descriptor was changed while we had
|
||||||
* must have a valid intro point object. Permanent error. */
|
* this introduction circuit open and waiting for the rendezvous circuit to
|
||||||
|
* be ready. Which results in this situation where we can't find the
|
||||||
|
* corresponding intro point within the descriptor of the service. */
|
||||||
|
log_info(LD_REND, "Unable to find introduction point for service %s "
|
||||||
|
"while trying to send an INTRODUCE1 cell.",
|
||||||
|
safe_str_client(onion_address));
|
||||||
goto perm_err;
|
goto perm_err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user