diff options
| author | Sughosh Ganu <[email protected]> | 2024-07-30 16:41:30 +0530 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-07-31 09:54:42 +0200 |
| commit | 7aa0addc42ef1674a7baaf9d0428db943c3f2e5f (patch) | |
| tree | dab29b9a140a2e8687e12b1ce3689146a8c2361f /doc/develop/bootstd | |
| parent | 22f893047db9560400415316256959ed29167d04 (diff) | |
efi_memory: avoid possible null pointer dereference
Populate the previous memory descriptor node pointer only after it's
parent struct has been initialised. The compiler fixes this logic to
do the right thing, but it is better to have correct code in place.
Signed-off-by: Sughosh Ganu <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'doc/develop/bootstd')
0 files changed, 0 insertions, 0 deletions
