Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Dnsmasq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Dnsmasq
Commits
8db957df
Commit
8db957df
authored
Dec 17, 2013
by
Simon Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix endless loop with some bogu-nxdomain. Another F_CONFIG botch.
parent
1ee9be4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CHANGELOG
CHANGELOG
+3
-0
src/rfc1035.c
src/rfc1035.c
+1
-1
No files found.
CHANGELOG
View file @
8db957df
...
@@ -4,6 +4,9 @@ version 2.69
...
@@ -4,6 +4,9 @@ version 2.69
on the BSD platform. Thanks to Matthias Andree for
on the BSD platform. Thanks to Matthias Andree for
valuable research on how to implement this.
valuable research on how to implement this.
Fix infinite loop associated with some --bogus-nxdomain
configs. Thanks forgobogo for the bug report.
version 2.68
version 2.68
Use random addresses for DHCPv6 temporary address
Use random addresses for DHCPv6 temporary address
...
...
src/rfc1035.c
View file @
8db957df
...
@@ -1283,7 +1283,7 @@ int check_for_bogus_wildcard(struct dns_header *header, size_t qlen, char *name,
...
@@ -1283,7 +1283,7 @@ int check_for_bogus_wildcard(struct dns_header *header, size_t qlen, char *name,
/* Found a bogus address. Insert that info here, since there no SOA record
/* Found a bogus address. Insert that info here, since there no SOA record
to get the ttl from in the normal processing */
to get the ttl from in the normal processing */
cache_start_insert
();
cache_start_insert
();
cache_insert
(
name
,
NULL
,
now
,
ttl
,
F_IPV4
|
F_FORWARD
|
F_NEG
|
F_NXDOMAIN
|
F_CONFIG
);
cache_insert
(
name
,
NULL
,
now
,
ttl
,
F_IPV4
|
F_FORWARD
|
F_NEG
|
F_NXDOMAIN
);
cache_end_insert
();
cache_end_insert
();
return
1
;
return
1
;
...
...
Write
Preview
Markdown
is supported
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