commit | f1202c4848d2d9756d31599c2b279ec48facedc0 | [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 | ba5c1ab32476da3c3986ac20b007b75acf9e1b9b [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>