[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241121141412.107370-1-andriy.shevchenko@linux.intel.com>
Date: Thu, 21 Nov 2024 16:12:50 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
kasan-dev@...glegroups.com,
linux-kernel@...r.kernel.org
Cc: Marco Elver <elver@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>
Subject: [PATCH v2 0/2] kcsan: debugs: Refactor allocation code
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
Powered by blists - more mailing lists