summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorAyaan Mirza Baig <ayaanmirzabaig85@gmail.com>2025-11-11 19:50:41 +0530
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-12-01 16:21:16 -0500
commit6f7cf13ef6b0fe2bdd539e5aa1b1fc8a1213cfc3 (patch)
treef01e14a1c53aa123fa134beb40cf0e22c8bc7e6c /tools/lib/python/kdoc/parse_data_structs.py
parentbc6f557b3387d807e08ffb8d638f149fedb75bf6 (diff)
drivers/bluetooth: btbcm: Use kmalloc_array() to prevent overflow
Replace the open-coded multiplication in kmalloc() with a call to kmalloc_array() to prevent potential integer overflows. This is a mechanical change, replacing BCM_FW_NAME_LEN with the type-safe sizeof(*fw_name) as the element size Signed-off-by: Ayaan Mirza Baig <ayaanmirzabaig85@gmail.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions