aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorYu Jiaoliang <[email protected]>2024-08-23 09:55:41 +0800
committerChristian Brauner <[email protected]>2024-08-30 08:22:41 +0200
commit75e4c6bcb88a60402c71ae87328813babb0e679a (patch)
tree9d9d0d8cb8b2aa9fe58fb8eb128594ae544bd98f /lib/string_helpers.c
parent3c58a9575e02c2b90a3180007d57105ceaa7c246 (diff)
mnt_idmapping: Use kmemdup_array instead of kmemdup for multiple allocation
Let the kememdup_array() take care about multiplication and possible overflows. v2:Add a new modification for reverse array. Signed-off-by: Yu Jiaoliang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions