summaryrefslogtreecommitdiffstats
path: root/lib/ubsan.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-04-07 05:12:34 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-04-07 19:43:44 +0200
commitae2e1aad3e48e495878d9f149e437a308bfdaefa (patch)
tree51204c710f66a91ce13b44dc400aea830f30e511 /lib/ubsan.c
parentubsan: split "bounds" checker from other options (diff)
downloadlinux-ae2e1aad3e48e495878d9f149e437a308bfdaefa.tar.xz
linux-ae2e1aad3e48e495878d9f149e437a308bfdaefa.zip
drivers/misc/lkdtm/bugs.c: add arithmetic overflow and array bounds checks
Adds LKDTM tests for arithmetic overflow (both signed and unsigned), as well as array bounds checking. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Dmitry Vyukov <dvyukov@google.com> Cc: Alexander Potapenko <glider@google.com> Cc: Andrey Konovalov <andreyknvl@google.com> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Dan Carpenter <dan.carpenter@oracle.com> Cc: Elena Petrova <lenaptr@google.com> Cc: "Gustavo A. R. Silva" <gustavo@embeddedor.com> Link: http://lkml.kernel.org/r/20200227193516.32566-4-keescook@chromium.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions