[PATCH] arm64: perf: Convert snprintf to sysfs_emit
Will Deacon
will at kernel.org
Tue Jun 1 11:21:01 PDT 2021
On Thu, 20 May 2021 15:59:45 +0800, Tian Tao wrote:
> Use sysfs_emit instead of snprintf to avoid buf overrun,because in
> sysfs_emit it strictly checks whether buf is null or buf whether
> pagesize aligned, otherwise it returns an error.
Applied to will (for-next/perf), thanks!
[1/1] arm64: perf: Convert snprintf to sysfs_emit
https://git.kernel.org/will/c/a5740e955540
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list