Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libflash: Initialise entries list earlier
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. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
- Loading branch information