+5
−2
+1
−0
Loading
Instead of open-coded multiplication and bounds checking, use the new
overflow helper. Additionally prepare for vmalloc() users to add
array_size()-family helpers in the future.
Signed-off-by:
Kees Cook <keescook@chromium.org>