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
38f8b3c6
Commit
38f8b3c6
authored
6 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge branch 'maint-0.3.3'
parents
cde5c9d0
80d673cc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/protover.c
+1
-1
1 addition, 1 deletion
src/or/protover.c
with
1 addition
and
1 deletion
src/or/protover.c
+
1
−
1
View file @
38f8b3c6
...
...
@@ -204,7 +204,7 @@ parse_single_entry(const char *s, const char *end_of_entry)
goto
error
;
/* The name must not be longer than MAX_PROTOCOL_NAME_LENGTH. */
if
(
equals
-
s
>
MAX_PROTOCOL_NAME_LENGTH
)
{
if
(
equals
-
s
>
(
int
)
MAX_PROTOCOL_NAME_LENGTH
)
{
log_warn
(
LD_NET
,
"When parsing a protocol entry, I got a very large "
"protocol name. This is possibly an attack or a bug, unless "
"the Tor network truly supports protocol names larger than "
...
...
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