Skip to content
Commit dd1086ac authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi: fix devpath_is_partition()



If the path consists only of an end node, it does not refer to a partition.
Avoid returning a random value from the stack in this case.

Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
parent 7ea79e51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment