[Skiboot] [PATCH] libflash: Add sanity checks to ffs init code.

Stewart Smith stewart at linux.vnet.ibm.com
Tue Jul 5 18:06:45 AEST 2016


Cyril Bur <cyril.bur at au1.ibm.com> writes:
> Quite a lot of code relies on values read from flash. These values
> shouldn't be totally trusted without at least basic sanity checks.
>
> Fixes coverity bug: 119719
>
> Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>
> ---
>  libflash/libffs.c | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)

Thanks! Merged to master as of 37550b7

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list