aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2026-10-01 10:37:40 +0300
committerJohannes Berg <johannes.berg@intel.com>2026-10-05 15:18:36 +0200
commit9b6cb072f9249e2cdb7c32be2b8069774c7e01e6 (patch)
tree73c61db57ccbd41b74e32e098f4b1fe370237949 /scripts/Makefile.thinlto
parentwifi: mac80211: set SP in reg connectivity with any channel (diff)
wifi: b43: don't pass unterminated string to sscanf()
The "buf" buffer is a PAGE_SIZE and allocated with kzalloc(). We store a string from the user in it and then pass it to sscanf() in the write functions such as shm32write__write_file(). Only a few numbers are stored in the buffer so it never comes close to filling up the whole PAGE_SIZE. Reserve the last character of the page for a NUL terminator. This is debugfs so it's root only. Fixes: 75388acd0cd8 ("[B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices") Signed-off-by: Dan Carpenter <error27@gmail.com> Link: https://patch.msgid.link/b396713e697c7411b23a2157e2102c347ac900bc.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