diff options
| author | 2026-09-19 12:02:52 +0800 | |
|---|---|---|
| committer | 2026-10-05 21:53:08 +0800 | |
| commit | 5033daff1534a586536ee6e7f70f6886122464c5 (patch) | |
| tree | f19720d86f9ef3f862692167691f44a14b6a8c47 /scripts/Makefile.thinlto | |
| parent | wifi: nxpwifi: validate variable IE lengths in beacon parser (diff) | |
wifi: nxpwifi: bound histogram debugfs output
nxpwifi_histogram_read() writes histogram entries to a PAGE_SIZE buffer.
Each entry is formatted with sprintf(), so enough populated buckets can
write past the allocation.
Use scnprintf() with the remaining buffer space when formatting the
histogram.
Assisted-by: LLM
Signed-off-by: Heyang Tan <thy15333007817@163.com>
Reviewed-by: Jeff Chen <jeff.chen_1@nxp.com>
Signed-off-by: Jeff Chen <jeff.chen_1@nxp.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
