Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 49b7f898 authored by Kees Cook's avatar Kees Cook
Browse files

mm: Use overflow helpers in kmalloc_array*()



Instead of open-coded multiplication and bounds checking, use the new
overflow helper.

Suggested-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent ca90800a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment