[Skiboot] [PATCH] libflash: Initialise entries list earlier

Stewart Smith stewart at linux.vnet.ibm.com
Fri May 26 16:55:27 AEST 2017


Oliver O'Halloran <oohall at gmail.com> writes:
> In the bail-out path we call ffs_close() to tear down the partially
> initialised ffs_handle. ffs_close() expects the entries list to be
> initialised so we need to do that earlier to prevent a null pointer
> dereference.

Hah, I literally just hit this the other day when doing various crazy
things, merged to master as of 25e42bad1f29384526d4ac1ad43dbd53505a687b


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list