Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZerXes
Tor
Commits
501b5174
Unverified
Commit
501b5174
authored
5 years ago
by
teor
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'tor-github/pr/1464' into maint-0.3.5
parents
400cee26
ed57a04a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/ticket28970
+6
-0
6 additions, 0 deletions
changes/ticket28970
src/feature/hs/hs_client.c
+6
-2
6 additions, 2 deletions
src/feature/hs/hs_client.c
with
12 additions
and
2 deletions
changes/ticket28970
0 → 100644
+
6
−
0
View file @
501b5174
o Minor bugfixes (clietn, hidden service v3):
- Fix a BUG() assertion that occurs within a very small race window between
a client intro circuit opens and its descriptor that gets cleaned up from
the cache. The circuit is now closed which will trigger a re-fetch of the
descriptor and continue the HS connection. Fixes bug 28970; bugfix on
0.3.2.1-alpha.
This diff is collapsed.
Click to expand it.
src/feature/hs/hs_client.c
+
6
−
2
View file @
501b5174
...
...
@@ -672,8 +672,12 @@ setup_intro_circ_auth_key(origin_circuit_t *circ)
tor_assert
(
circ
);
desc
=
hs_cache_lookup_as_client
(
&
circ
->
hs_ident
->
identity_pk
);
if
(
BUG
(
desc
==
NULL
))
{
/* Opening intro circuit without the descriptor is no good... */
if
(
desc
==
NULL
)
{
/* There is a very small race window between the opening of this circuit
* and the client descriptor cache that gets purged (NEWNYM) or the
* cleaned up because it expired. Mark the circuit for close so a new
* descriptor fetch can occur. */
circuit_mark_for_close
(
TO_CIRCUIT
(
circ
),
END_CIRC_REASON_INTERNAL
);
goto
end
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment