Re: [PATCH v2 1/3] tools subcmd: Tighten the filename size in check_if_command_finished
From: Namhyung Kim
Date: Wed Jul 23 2025 - 13:30:58 EST
On Thu, 17 Jul 2025 08:08:53 -0700, Ian Rogers wrote:
> FILENAME_MAX is often PATH_MAX (4kb), far more than needed for the
> /proc path. Make the buffer size sufficient for the maximum integer
> plus "/proc/" and "/status" with a '\0' terminator.
>
>
Applied to perf-tools-next, thanks!
Best regards,
Namhyung