summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorLen Baker <len.baker@gmx.com>2021-07-24 15:21:52 +0300
committerMarcel Holtmann <marcel@holtmann.org>2021-07-29 14:46:13 +0300
commit785077fa2d6791d036b4227924276534ae0f192f (patch)
tree4cbd84d1f281f8bbc26e6101e8f77513577b20ec /crypto
parent92fe24a7db751b80925214ede43f8d2be792ea7b (diff)
downloadlinux-785077fa2d6791d036b4227924276534ae0f192f.tar.xz
Bluetooth: btmrvl_sdio: Remove all strcpy() uses
strcpy() performs no bounds checking on the destination buffer. This could result in linear overflows beyond the end of the buffer, leading to all kinds of misbehaviors. The safe replacement is strscpy() but in this case it is better to use the scnprintf to simplify the arithmetic. This is a previous step in the path to remove the strcpy() function entirely from the kernel. Signed-off-by: Len Baker <len.baker@gmx.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions