diff options
author | Kees Cook <keescook@chromium.org> | 2022-08-31 11:09:13 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-09-07 16:37:26 -0700 |
commit | 779742255cb464e9e833fed2a8d352eb12936dae (patch) | |
tree | fee83c09a5060c5476d1672f3101436bd602d91d /include/linux/fortify-string.h | |
parent | d219d2a9a92e39aa92799efe8f2aa21259b6dd82 (diff) | |
download | linux-stable-779742255cb464e9e833fed2a8d352eb12936dae.tar.gz linux-stable-779742255cb464e9e833fed2a8d352eb12936dae.tar.bz2 linux-stable-779742255cb464e9e833fed2a8d352eb12936dae.zip |
overflow: Split up kunit tests for smaller stack frames
Under some pathological 32-bit configs, the shift overflow KUnit tests
create huge stack frames. Split up the function to avoid this,
separating by rough shift overflow cases.
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Daniel Latypov <dlatypov@google.com>
Cc: Vitor Massaru Iha <vitor@massaru.org>
Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/lkml/202208301850.iuv9VwA8-lkp@intel.com
Acked-by: Daniel Latypov <dlatypov@google.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/linux/fortify-string.h')
0 files changed, 0 insertions, 0 deletions