Re: [PATCH 0/2] kyber, blk-wbt: Replace strlcpy with strscpy
From: Kees Cook
Date: Wed Jul 12 2023 - 19:45:06 EST
On Mon, Jul 03, 2023 at 05:21:57PM +0000, Azeem Shaikh wrote:
> This patch series replaces strlcpy in the kyber and blk-wbt tracing subsystems wherever trivial
> replacement is possible, i.e return value from strlcpy is unused. The patches
> themselves are independent of each other and are applied to different subsystems. They are
> included as a series for ease of review.
>
> Note to reviewers: MAINTAINERS file does not specify clear ownership of
> these files so I have addressed these to the latest committer for these
> files: Jens Axboe <axboe@xxxxxxxxx>.
>
> Azeem Shaikh (2):
> kyber: Replace strlcpy with strscpy
> blk-wbt: Replace strlcpy with strscpy
>
> include/trace/events/kyber.h | 8 ++++----
> include/trace/events/wbt.h | 8 ++++----
> 2 files changed, 8 insertions(+), 8 deletions(-)
These looks correct to me. I can take them if no one else wants them.
Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
--
Kees Cook