]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: eficonfig: check initrd path allocation
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 17 Apr 2024 16:01:25 +0000 (18:01 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 20 Apr 2024 06:21:28 +0000 (08:21 +0200)
commit8afeab4cdf5e7babdf86c2c86d527badada7da1d
treed80cc5e2d52801728cdfdee7a240b095e4c9fb87
parentbf92db1033d9ef20243f30751169e2e5b302c2ad
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>
cmd/eficonfig.c