aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/vmd.c
diff options
context:
space:
mode:
authorLiao Yuanhong <[email protected]>2025-08-11 12:58:16 +0000
committerTheodore Ts'o <[email protected]>2025-08-13 03:15:05 +0000
commit76dba1fe277f6befd6ef650e1946f626c547387a (patch)
tree679725f9269505a7f429fa0b600ae6cd0380fd8c /drivers/pci/controller/vmd.c
parentext4: fix hole length calculation overflow in non-extent inodes (diff)
downloadkernel-76dba1fe277f6befd6ef650e1946f626c547387a.tar.gz
kernel-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: [email protected] Signed-off-by: Liao Yuanhong <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions