commit | 49b7f8983aa78581bfd511a26891b26cd734e293 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue May 08 12:52:32 2018 -0700 |
committer | Kees Cook <keescook@chromium.org> | Tue Jun 05 12:16:51 2018 -0700 |
tree | e897c47ee7eacb557d129287451e736cb345ae8d | |
parent | ca90800a91ba723d78ded634d037c1d2df8b54d6 [diff] |
mm: Use overflow helpers in kmalloc_array*() Instead of open-coded multiplication and bounds checking, use the new overflow helper. Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Kees Cook <keescook@chromium.org>