commit | ac012c23ee2594b3d1b11ea15fe65658c33feb77 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Tue Jul 26 07:45:18 2022 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Aug 13 11:09:49 2022 +0200 |
tree | 7b4ae83c3488f628013ce5698357cf077c36b55a | |
parent | 76d71b0548e2d3f78d4e2478ae91c69fdde28a2b [diff] |
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>