diff options
| author | 2026-10-01 10:37:50 +0300 | |
|---|---|---|
| committer | 2026-10-05 15:18:52 +0200 | |
| commit | ece30e1daf6a9c95d6f9d0518534a0b9c8c7fd42 (patch) | |
| tree | cdce9fde7f29d13730614152fba7476133fa6d6b /scripts/Makefile.thinlto | |
| parent | wifi: b43legacy: debugfs: NUL terminate string in debugfs (diff) | |
wifi: carl9170: NUL terminate string in debugfs
The "buf" buffer comes from the user. We use it to store a number or
two so it doesn't need to be large. It gets passed to sscanf() in the
write functions such as carl9170_debugfs_erp_write(). Ensure that
buffer is NUL terminated.
This is debugfs so it's root only.
Fixes: 00c4da27a421 ("carl9170: firmware parser and debugfs code")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Christian Lamparter <chunkeey@gmail.com>
Acked-by: Jeff Johnson <jjohnson@kernel.org>
Link: https://patch.msgid.link/674270ab4aeefa1982362c0ea4132427e14f15eb.1790839793.git.error27@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
