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
b06ac133
Commit
b06ac133
authored
Nov 04, 1999
by
Michael Graff
Browse files
check for NULL before filling in retured node pointer.
parent
3165855e
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/dns/rbtdb.c
View file @
b06ac133
...
...
@@ -2413,8 +2413,10 @@ cache_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version,
* deepest zone cut.
*/
if
(
nsheader
!=
NULL
)
{
if
(
nodep
!=
NULL
)
{
new_reference
(
search
.
rbtdb
,
node
);
*
nodep
=
node
;
}
bind_rdataset
(
search
.
rbtdb
,
node
,
nsheader
,
search
.
now
,
rdataset
);
if
(
nssig
!=
NULL
)
...
...
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