diff options
| author | 2026-08-31 15:44:22 +0545 | |
|---|---|---|
| committer | 2026-08-31 13:39:11 -0400 | |
| commit | ac8aa9e0ec93a12a60230066f199f49c3b9aac3d (patch) | |
| tree | 3595cad3fe572d6e2f7cfe5e995a4d58a8cc2cfd /scripts/Makefile.thinlto | |
| parent | Bluetooth: btintel: validate version TLV value lengths (diff) | |
Bluetooth: btintel: bound firmware ID by TLV length
The firmware ID is treated as a NUL-terminated string even though the
TLV length is its only boundary. If the value does not contain a NUL
terminator, snprintf() can read beyond the received response.
Limit the conversion to the advertised TLV value length.
Fixes: 164c62f958f8 ("Bluetooth: btintel: Add firmware ID to firmware name")
Reviewed-by: Ali Ahmet Memis <ali@iusegentoo.com>
Signed-off-by: Laxman Acharya Padhya <acharyalaxman8848@gmail.com>
Tested-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
