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> Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
7.7 KiB
7.7 KiB