Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mike Perry
Tor
Commits
70b85358
Commit
70b85358
authored
May 31, 2019
by
Nick Mathewson
🥄
Browse files
Fix a logic error in deciding whether to accept SessionGroup=
Fixes bug 22619; bugfix on 0.2.7.2-alpha
parent
e5deb2bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/bug22619
0 → 100644
View file @
70b85358
o Minor bugfixes (circuit isolation):
- Fix a logic error that prevented the SessionGroup sub-option from
being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
src/app/config/config.c
View file @
70b85358
...
...
@@ -7080,7 +7080,7 @@ parse_port_config(smartlist_t *out,
if
(
!
strcasecmpstart
(
elt
,
"SessionGroup="
))
{
int
group
=
(
int
)
tor_parse_long
(
elt
+
strlen
(
"SessionGroup="
),
10
,
0
,
INT_MAX
,
&
ok
,
NULL
);
if
(
!
ok
||
!
allow_no_stream_options
)
{
if
(
!
ok
||
allow_no_stream_options
)
{
log_warn
(
LD_CONFIG
,
"Invalid %sPort option '%s'"
,
portname
,
escaped
(
elt
));
goto
err
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment