commit | b94d204830bc0e80c9c460bd549a27d0f9b8bb65 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Oct 23 17:26:02 2021 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sun Nov 28 16:51:51 2021 -0700 |
tree | 0a1c9884a12a31d2db62a9bab5d85eeaa034e5c0 | |
parent | 8de9be002a5bebd174aa38fbdd2a06d465cad2b6 [diff] |
disk: part_dos: Fix a NULL pointer error When ext is NULL we cannot dereference it. Update the code flow to avoid this, so that layout_mbr_partitions() can be used with partition tables that do not include an extended partition. Signed-off-by: Simon Glass <sjg@chromium.org>