diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2017-05-26 14:07:48 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-05-26 16:00:18 +1000 |
commit | 25e42bad1f29384526d4ac1ad43dbd53505a687b (patch) | |
tree | 38d995316b5f73de747b1dab24660b20097c78ff /hdata | |
parent | 41dc3eb4495c451a405974570f604622a3f829ef (diff) | |
download | skiboot-25e42bad1f29384526d4ac1ad43dbd53505a687b.zip skiboot-25e42bad1f29384526d4ac1ad43dbd53505a687b.tar.gz skiboot-25e42bad1f29384526d4ac1ad43dbd53505a687b.tar.bz2 |
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>
Diffstat (limited to 'hdata')
0 files changed, 0 insertions, 0 deletions