Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
c144a410
Commit
c144a410
authored
Oct 17, 1999
by
Bob Halley
Browse files
CNAME signature finding could fail in cache_find().
parent
2f6040ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/rbtdb.c
View file @
c144a410
...
...
@@ -2337,10 +2337,15 @@ cache_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version,
cname_ok
&&
cnamesig
!=
NULL
)
{
/*
*
We may be finding a CNAME instead
*
of the desired type. If so, w
e
*
need to return the CNAME's SIG
.
*
If we've already got the CNAME SIG,
*
use it, otherwise change sigtyp
e
*
so that we find it
.
*/
if
(
cnamesig
!=
NULL
)
foundsig
=
cnamesig
;
else
sigtype
=
RBTDB_RDATATYPE_SIGCNAME
;
foundsig
=
cnamesig
;
}
}
else
if
(
header
->
type
==
sigtype
)
{
...
...
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