[PATCH v2 0/2] kcsan: debugs: Refactor allocation code
From: Andy Shevchenko
Date: Thu Nov 21 2024 - 09:14:28 EST
Refactor allocation code to be more robust against overflows
and shorted in terms of LoCs.
In v2:
- collected tags (Marco)
- added patch 2
Andy Shevchenko (2):
kcsan: debugfs: Use krealloc_array() to replace krealloc()
kcsan: debugfs: Use krealloc_array() for initial allocation as well
kernel/kcsan/debugfs.c | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
--
2.43.0.rc1.1336.g36b5255a03ac