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
1bde356b
Unverified
Commit
1bde356b
authored
5 years ago
by
teor
Browse files
Options
Downloads
Plain Diff
Merge branch 'maint-0.2.9' into maint-0.3.5
parents
4abfcb79
0650bf36
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/bug31107
+4
-0
4 additions, 0 deletions
changes/bug31107
src/core/or/channeltls.c
+9
-1
9 additions, 1 deletion
src/core/or/channeltls.c
with
13 additions
and
1 deletion
changes/bug31107
0 → 100644
+
4
−
0
View file @
1bde356b
o Minor bugfixes (logging, protocol violations):
- Do not log a nonfatal assertion failure when receiving a VERSIONS
cell on a connection using the obsolete v1 link protocol. Log a
protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
This diff is collapsed.
Click to expand it.
src/core/or/channeltls.c
+
9
−
1
View file @
1bde356b
...
...
@@ -1108,7 +1108,15 @@ channel_tls_handle_cell(cell_t *cell, or_connection_t *conn)
/* do nothing */
break
;
case
CELL_VERSIONS
:
tor_fragile_assert
();
/* A VERSIONS cell should always be a variable-length cell, and
* so should never reach this function (which handles constant-sized
* cells). But if the connection is using the (obsolete) v1 link
* protocol, all cells will be treated as constant-sized, and so
* it's possible we'll reach this code.
*/
log_fn
(
LOG_PROTOCOL_WARN
,
LD_CHANNEL
,
"Received unexpected VERSIONS cell on a channel using link "
"protocol %d; ignoring."
,
conn
->
link_proto
);
break
;
case
CELL_NETINFO
:
++
stats_n_netinfo_cells_processed
;
...
...
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