commit | 70a4ac693d3f1e5ce8cc1bc919c9bd080e1bda77 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sun Dec 18 06:08:57 2022 +0000 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Tue Dec 20 16:06:48 2022 +0100 |
tree | c1fdb3b4166763fe39e774d9d29ffee798c437ad | |
parent | 645502743ac10ffaa5abf944bf0b751b32b47220 [diff] |
efi_loader: fix efi_get_next_variable_name_mem() The VariableNameSize parameter is in bytes but u16_strnlen() counts u16. Fix the parameter check for null termination. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>