Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
e0ace7f5
Unverified
Commit
e0ace7f5
authored
6 years ago
by
Antonio Niño Díaz
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1794 from Andre-ARM/fiptool-fix
tools/fiptool: Fix UUID parsing in blob handling
parents
e9b77791
e56b8dc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/fiptool/fiptool.c
+2
-2
tools/fiptool/fiptool.c
with
2 additions
and
2 deletions
+2
-2
tools/fiptool/fiptool.c
View file @
e0ace7f5
...
...
@@ -271,10 +271,10 @@ static void uuid_from_str(uuid_t *u, const char *s)
&
u
->
node
[
2
],
&
u
->
node
[
3
],
&
u
->
node
[
4
],
&
u
->
node
[
5
]);
/*
* Given the format specifier above, we expect 1
1
items to be scanned
* Given the format specifier above, we expect 1
6
items to be scanned
* for a properly formatted UUID.
*/
if
(
n
!=
1
1
)
if
(
n
!=
1
6
)
log_errx
(
"Invalid UUID: %s"
,
s
);
}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help