tools/fiptool: Fix UUID parsing in blob handling
authorAndre Przywara <andre.przywara@arm.com>
Tue, 29 Jan 2019 09:25:14 +0000 (09:25 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 29 Jan 2019 09:25:14 +0000 (09:25 +0000)
commite56b8dc82bba526348fc7b1d2f615c8452caf21a
treeb513d432af1db8aec69bc371a2796edbd2cc53cf
parente9b77791ab11b25391ef758d41a39584d14ff2e9
tools/fiptool: Fix UUID parsing in blob handling

Commit 033648652f ("Make TF UUID RFC 4122 compliant") changed the scanf
parsing string to handle endianness correctly.
However that changed the number of items sscanf handles, without
adjusting the sanity check just below.

Increase the expected return value from 11 to 16 to let fiptool handle
UUIDs given as blob parameters correctly again.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
tools/fiptool/fiptool.c