diff options
| author | Jinjie Ruan <[email protected]> | 2024-08-28 07:23:40 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-09 23:47:42 +0000 |
| commit | 546f02823df82cddc411e8db236d296a51308dfa (patch) | |
| tree | 3a75756a0db11da26b4e17141a4e5c56f0039095 /drivers/fpga/xilinx-selectmap.c | |
| parent | tools/mm: rm thp_swap_allocator_test when make clean (diff) | |
| download | kernel-546f02823df82cddc411e8db236d296a51308dfa.tar.gz kernel-546f02823df82cddc411e8db236d296a51308dfa.zip | |
user_namespace: use kmemdup_array() instead of kmemdup() for multiple allocation
Let the kmemdup_array() take care about multiplication and possible
overflows.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jinjie Ruan <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Li zeming <[email protected]>
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions
