aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-11-20 17:11:44 +0200
committerKees Cook <keescook@chromium.org>2023-12-01 09:51:43 -0800
commit0fc79cbc937f2a754a302a710a94b68c61d0a89a (patch)
tree7c839b3086485fba045c1cbc5fef89a5a3695b24 /scripts/git.orderFile
parentparams: Do not go over the limit when getting the string length (diff)
downloadlinux-rng-0fc79cbc937f2a754a302a710a94b68c61d0a89a.tar.xz
linux-rng-0fc79cbc937f2a754a302a710a94b68c61d0a89a.zip
params: Use size_add() for kmalloc()
Prevent allocations from integer overflow by using size_add(). Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20231120151419.1661807-4-andriy.shevchenko@linux.intel.com Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions