summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_var_common.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-04-17 18:01:25 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-04-20 08:21:28 +0200
commit8afeab4cdf5e7babdf86c2c86d527badada7da1d (patch)
treed80cc5e2d52801728cdfdee7a240b095e4c9fb87 /lib/efi_loader/efi_var_common.c
parentbf92db1033d9ef20243f30751169e2e5b302c2ad (diff)
cmd: eficonfig: check initrd path allocation
After allocating memory for the initrd file path we need to check the initrd buffer pointer is not NULL. Fixes: 87d791423ac6 ("eficonfig: menu-driven addition of UEFI boot option") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_var_common.c')
0 files changed, 0 insertions, 0 deletions