Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
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
jarl
tor
Commits
31332a87
Commit
31332a87
authored
8 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge branch 'bug18710_025' into maint-0.2.8
parents
8f292f1c
0ca3f495
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/bug18710
+6
-0
6 additions, 0 deletions
changes/bug18710
src/or/dnsserv.c
+1
-3
1 addition, 3 deletions
src/or/dnsserv.c
with
7 additions
and
3 deletions
changes/bug18710
0 → 100644
+
6
−
0
View file @
31332a87
o Major bugfixes (DNS proxy):
- Stop a crash that could occur when a client running with DNSPort
received a query with multiple address types, where the first
address type was not supported. Found and fixed by Scott Dial.
Fixes bug 18710; bugfix on 0.2.5.4-alpha.
This diff is collapsed.
Click to expand it.
src/or/dnsserv.c
+
1
−
3
View file @
31332a87
...
...
@@ -88,8 +88,6 @@ evdns_server_callback(struct evdns_server_request *req, void *data_)
for
(
i
=
0
;
i
<
req
->
nquestions
;
++
i
)
{
if
(
req
->
questions
[
i
]
->
dns_question_class
!=
EVDNS_CLASS_INET
)
continue
;
if
(
!
q
)
q
=
req
->
questions
[
i
];
switch
(
req
->
questions
[
i
]
->
type
)
{
case
EVDNS_TYPE_A
:
case
EVDNS_TYPE_AAAA
:
...
...
@@ -97,7 +95,7 @@ evdns_server_callback(struct evdns_server_request *req, void *data_)
/* We always pick the first one of these questions, if there is
one. */
if
(
!
supported_q
)
supported_q
=
q
;
supported_q
=
req
->
questions
[
i
]
;
break
;
default:
break
;
...
...
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