Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
061723f9
Commit
061723f9
authored
Oct 28, 2016
by
davidcunado-arm
Committed by
GitHub
Oct 28, 2016
Browse files
Merge pull request #744 from masahir0y/fiptool
fiptool: fix Segmentation fault when only --verbose option is given
parents
869605ab
c9cb4089
Changes
1
Show whitespace changes
Inline
Side-by-side
tools/fiptool/fiptool.c
View file @
061723f9
...
@@ -985,6 +985,8 @@ int main(int argc, char *argv[])
...
@@ -985,6 +985,8 @@ int main(int argc, char *argv[])
strcmp
(
argv
[
0
],
"--verbose"
)
==
0
)
{
strcmp
(
argv
[
0
],
"--verbose"
)
==
0
)
{
verbose
=
1
;
verbose
=
1
;
argc
--
,
argv
++
;
argc
--
,
argv
++
;
if
(
argc
<
1
)
usage
();
}
}
for
(
i
=
0
;
i
<
NELEM
(
cmds
);
i
++
)
{
for
(
i
=
0
;
i
<
NELEM
(
cmds
);
i
++
)
{
...
...
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