Unverified Commit e0ace7f5 authored by Antonio Niño Díaz's avatar Antonio Niño Díaz Committed by GitHub
Browse files

Merge pull request #1794 from Andre-ARM/fiptool-fix

tools/fiptool: Fix UUID parsing in blob handling
parents e9b77791 e56b8dc8
Showing with 2 additions and 2 deletions
+2 -2
......@@ -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 11 items to be scanned
* Given the format specifier above, we expect 16 items to be scanned
* for a properly formatted UUID.
*/
if (n != 11)
if (n != 16)
log_errx("Invalid UUID: %s", s);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment