Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
3b6503ff
Commit
3b6503ff
authored
Jul 23, 2019
by
Diego dos Santos Fronza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix possible NULL pointer dereferencing on variable label.
parent
c8082556
Pipeline
#18213
failed with stages
in 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
bin/dnssec/dnssec-keyfromlabel.c
bin/dnssec/dnssec-keyfromlabel.c
+2
-0
No files found.
bin/dnssec/dnssec-keyfromlabel.c
View file @
3b6503ff
...
...
@@ -218,6 +218,8 @@ main(int argc, char **argv) {
break
;
case
'l'
:
label
=
isc_mem_strdup
(
mctx
,
isc_commandline_argument
);
if
(
label
==
NULL
)
fatal
(
"Failed to allocate memory for label"
);
break
;
case
'n'
:
nametype
=
isc_commandline_argument
;
...
...
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