diff options
author | Kees Cook <keescook@chromium.org> | 2018-08-08 00:18:35 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-09-04 06:35:03 +0300 |
commit | 3bdd23f886c08a0d649c535e1e2cf083ec600036 (patch) | |
tree | 80ea091af3f8ed5646cf53a58cb485966c9fff66 /fs/binfmt_em86.c | |
parent | 578bdaabd015b9b164842c3e8ace9802f38e7ecc (diff) | |
download | linux-3bdd23f886c08a0d649c535e1e2cf083ec600036.tar.xz |
crypto: xcbc - Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this uses
the maximum blocksize and adds a sanity check. For xcbc, the blocksize
must always be 16, so use that, since it's already being enforced during
instantiation.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/binfmt_em86.c')
0 files changed, 0 insertions, 0 deletions