diff options
author | Leo Yan <leo.yan@arm.com> | 2025-09-17 18:41:38 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-09-18 15:23:58 +0100 |
commit | 105f56877f2d5f82d71e20b45eb7be7c24c3d908 (patch) | |
tree | 9adc1b7ca69c9435295e4e817bdb19b09381d4da /net/unix/af_unix.c | |
parent | 542342d27122e4a0dc90025748f7821f8e15920a (diff) |
coresight: trbe: Prevent overflow in PERF_IDX2OFF()
Cast nr_pages to unsigned long to avoid overflow when handling large
AUX buffer sizes (>= 2 GiB).
Fixes: 3fbf7f011f24 ("coresight: sink: Add TRBE driver")
Signed-off-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions