aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAjith P V <ajithpv.linux@gmail.com>2026-08-11 09:49:32 +0000
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-10-14 13:16:57 -0400
commit16ed10be23a141d5a9ad38874c5a714e00ce49f7 (patch)
tree938b64729b226e44a2ea8a047bcb52e35f94783a /scripts/Makefile.thinlto
parentBluetooth: hci_sync: Factor common cleanup code into a helper (diff)
Bluetooth: bnep: refactor deprecated strcpy
The strcpy() function is deprecated across the kernel tree and moving towards complete elimination. It provides no verification limits against buffer overflows and does not guarantee strict boundary restrictions [1][2]. Replace instances of strcpy() in `net/bluetooth/bnep/core.c` with the safer strscpy() alternative. Since both target destination blocks are statically allocated fixed-size arrays within their structure definitions, leverage the compile time sizeof() operator to explicitly pass the destination buffer capacities. Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1] Link: https://github.com/KSPP/linux/issues/88 [2] Signed-off-by: Ajith P V <ajithpv.linux@gmail.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