Commit b6a6f949 authored by David Gibson's avatar David Gibson
Browse files

fdtoverlay: Sanity check blob size



The fdtoverlay utility reads in the base fdt blob, then expands it to make
room for all the overlays requested.  However, it uses the totalsize field
of the base blob without verifying that it actually read all of it in (it's
possible the blob file could have been truncated).

Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 8c1eb152
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment