commit | 4e82c2ea27fcbc78770b9b0bea4cf1ae4172957c | [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 | 68e698b0cc34223c410fb8264272bd6f79365506 [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>