Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
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
The Tor Project
Core
Tor
Commits
dd8f16be
Commit
dd8f16be
authored
15 years ago
by
Karsten Loesing
Browse files
Options
Downloads
Patches
Plain Diff
Avoid segfault when accessing hidden service.
parent
64f393d5
No related branches found
Branches containing commit
Tags
tor-0.2.1.16-rc
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+3
-0
3 additions, 0 deletions
ChangeLog
src/or/rendclient.c
+2
-1
2 additions, 1 deletion
src/or/rendclient.c
with
5 additions
and
1 deletion
ChangeLog
+
3
−
0
View file @
dd8f16be
...
...
@@ -23,6 +23,9 @@ Changes in version 0.2.1.20 - 2009-??-??
a wrong clock. Instead, we should only inform the controller when
it's a trusted authority that claims our clock is wrong. Bugfix
on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
- Avoid segfault in rare cases when finishing an introduction circuit
as a client and finding out that we don't have an introduction key
for it. Fixes bug 1073. Reported by Aaron Swartz.
Changes in version 0.2.1.19 - 2009-07-28
...
...
This diff is collapsed.
Click to expand it.
src/or/rendclient.c
+
2
−
1
View file @
dd8f16be
...
...
@@ -94,6 +94,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc,
}
});
if
(
!
intro_key
)
{
int
num_intro_points
=
smartlist_len
(
entry
->
parsed
->
intro_nodes
);
if
(
rend_cache_lookup_entry
(
introcirc
->
rend_data
->
onion_address
,
0
,
&
entry
)
>
0
)
{
log_warn
(
LD_BUG
,
"We have both a v0 and a v2 rend desc for this "
...
...
@@ -109,7 +110,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc,
}
else
{
log_warn
(
LD_BUG
,
"Internal error: could not find intro key; we "
"only have a v2 rend desc with %d intro points."
,
smartlist_len
(
entry
->
parsed
->
intro_nodes
)
);
num_intro_points
);
goto
err
;
}
}
...
...
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