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

Skip to content
Commit 2509b561 authored by Kees Cook's avatar Kees Cook
Browse files

device: Use overflow helpers for devm_kmalloc()



Use the overflow helpers both in existing multiplication-using inlines as
well as the addition-overflow case in the core allocation routine.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 3b3b1a29
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