commit | 57f67537af9cdf34ae9edb76f351c7df277a55b4 | [log] [tgz] |
---|---|---|
author | Patrick Georgi <patrick@georgi-clan.de> | Thu Oct 02 08:16:28 2014 |
committer | Stephen Warren <swarren@nvidia.com> | Thu Oct 02 23:07:09 2014 |
tree | 64b77a59e45bb8416b6db51bedcd8e25f06348fa | |
parent | 4bc982c3a8f2a4b21e449fc0db93d46d505f7d95 [diff] |
data_layout: fail better on file access errors fread could return only a partial result (eg. NVBOOT_CONFIG_TABLE_SIZE_MAX - 1 bytes), which right now would be accepted and only resolved by later code. Found-by: Coverity Scan Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Signed-off-by: Stephen Warren <swarren@nvidia.com>