Heinrich Schuchardt e7496e57a0 efi_loader: fix efi_convert_device_path_to_text()
Ensure that the string we convert to UTF-16 is NUL terminated even
if the device path only contains end nodes.

Fixes: bd3d75bb0c58 ("efi_loader: multi part device paths to text")
Addresses-Coverity: 350434 ("Uninitialized scalar variable")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-08-13 11:09:49 +02:00
..
2022-01-19 18:11:34 +01:00
2022-02-03 12:16:01 -05:00
2022-02-03 12:16:01 -05:00
2022-02-03 12:16:01 -05:00
2022-02-03 12:16:01 -05:00