[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zz8_t3vn4SXTNHH3@smile.fi.intel.com>
Date: Thu, 21 Nov 2024 16:12:07 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Marco Elver <elver@...gle.com>
Cc: kasan-dev@...glegroups.com, linux-kernel@...r.kernel.org,
Dmitry Vyukov <dvyukov@...gle.com>
Subject: Re: [PATCH v1 1/1] kcsan: debugfs: Use krealloc_array() to replace
krealloc()
On Thu, Nov 21, 2024 at 03:04:04PM +0100, Marco Elver wrote:
> On Thu, 21 Nov 2024 at 14:58, Andy Shevchenko
> <andriy.shevchenko@...ux.intel.com> wrote:
> >
> > Use krealloc_array() to replace krealloc() with multiplication.
> > krealloc_array() has multiply overflow check, which will be safer.
> >
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
>
> Reviewed-by: Marco Elver <elver@...gle.com>
Thank you!
> Do you have a tree to take this through? Otherwise I'll take it.
No, but please, wait a bit, I have a sequential dependent patch.
I'll send a v2 soon.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists