diff options
author | 2025-08-11 20:58:16 +0800 | |
---|---|---|
committer | 2025-08-12 23:15:05 -0400 | |
commit | 76dba1fe277f6befd6ef650e1946f626c547387a (patch) | |
tree | 679725f9269505a7f429fa0b600ae6cd0380fd8c /tools/perf/scripts/python | |
parent | ext4: fix hole length calculation overflow in non-extent inodes (diff) | |
download | wireguard-linux-76dba1fe277f6befd6ef650e1946f626c547387a.tar.xz wireguard-linux-76dba1fe277f6befd6ef650e1946f626c547387a.zip |
ext4: use kmalloc_array() for array space allocation
Replace kmalloc(size * sizeof) with kmalloc_array() for safer memory
allocation and overflow prevention.
Cc: stable@kernel.org
Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Link: https://patch.msgid.link/20250811125816.570142-1-liaoyuanhong@vivo.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions