Re: [PATCH v2] perf/core: Replace memset(0) + strscpy() with strscpy_pad()
From: Thorsten Blum
Date: Mon Aug 11 2025 - 14:31:08 EST
On 11. Aug 2025, at 20:18, Thorsten Blum wrote:
> Changes in v2:
> - Keep strlen() as we're not checking the return value of strscpy_pad()
> for string truncation
> - Link to v1: https://lore.kernel.org/lkml/20250811091637.4492-2-thorsten.blum@xxxxxxxxx/
Actually v1 was just fine because both source and destination buffers
have the same size 'TASK_COMM_LEN' and the string won't be truncated.
Sorry for the noise.