Skip to content
GitLab
Projects
Groups
Snippets
/
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
8c55a67a
Commit
8c55a67a
authored
Jul 28, 1999
by
Andreas Gustafsson
Browse files
null pointer dereference
parent
260b4137
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/message.c
View file @
8c55a67a
...
...
@@ -118,7 +118,7 @@ msgblock_internalget(dns_msgblock_t *block, unsigned int sizeof_type)
{
void
*
ptr
;
if
(
block
->
remaining
==
0
)
if
(
block
==
NULL
||
block
->
remaining
==
0
)
return
(
NULL
);
block
->
remaining
--
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment