aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorPengpeng Hou <hppiscas@163.com>2026-09-20 11:44:14 +0800
committerJohannes Berg <johannes.berg@intel.com>2026-10-05 15:07:48 +0200
commit3ffb0de666c6dc3831a16ad33f9c9fd8a9310dcb (patch)
treecf612fc84cabb69e7c112e43a5c4320ccef676f3 /scripts/Makefile.thinlto
parentwifi: brcmfmac: cfg80211: Report port_authorized for 4-way HS offload (diff)
wifi: brcmfmac: bound NVRAM comment parsing
The NVRAM comment handler searches for a newline with strchr() even though its input is a firmware buffer with an explicit length. A comment at the end of an unterminated buffer can make the search read past that input. Keep the input extent in the parser and use bounded searches for newline and NUL. Preserve the full input length: the capped size used to allocate the output is not a bound on the input, which may contain more than 64KiB of comments. Leave the outer parsing limit unchanged. The issue was found by our static-analysis tool. Assisted-by: gpt 5 Signed-off-by: Pengpeng Hou <hppiscas@163.com> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Link: https://patch.msgid.link/20260920034414.16948-1-hppiscas@163.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions