commit | 6974a4a37348ba272e53dd33effcc0db9e144c59 | [log] [tgz] |
---|---|---|
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | Sun Nov 22 15:10:26 2020 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Nov 29 05:18:37 2020 +0100 |
tree | a92bfd16dfad8a9a35e08e79747128be3c9af148 | |
parent | 03699bc75621934f7fb5d5a023007b39fb21ad6b [diff] |
charset: make u16_strnlen accessible at runtime commit 1fabfeef506c ("efi_loader: parameter check in GetNextVariableName()") introduces a check using u16_strnlen(). This code is used on EFI runtime variables as well, so unless we mark it as runtime, the kernel will crash trying to access it. Fixes: 1fabfeef506c ("efi_loader: parameter check in GetNextVariableName()") Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>