n64cart: use strscpy() in n64cart_probe#769
n64cart: use strscpy() in n64cart_probe#769blktests-ci[bot] wants to merge 1 commit intolinus-master_basefrom
Conversation
|
Upstream branch: dd6c438 |
857ada9 to
482ce5b
Compare
|
Upstream branch: dca922e |
d925ac5 to
eed01ff
Compare
482ce5b to
5a9f7c7
Compare
|
Upstream branch: e75a43c |
eed01ff to
1bc0cbd
Compare
5a9f7c7 to
25a041f
Compare
|
Upstream branch: 66edb90 |
1bc0cbd to
f82cfa4
Compare
25a041f to
6f75bd1
Compare
|
Upstream branch: 6d35786 |
f82cfa4 to
9f71b93
Compare
6f75bd1 to
1f0d33a
Compare
|
Upstream branch: 6d35786 |
9f71b93 to
36aa268
Compare
1f0d33a to
b1870f6
Compare
strcpy() has been deprecated¹ because it performs no bounds checking on the destination buffer, which can lead to buffer overflows. While the current code works correctly, replace strcpy() with the safer strscpy() to follow secure coding best practices. ¹ https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
|
Upstream branch: aa54b1d |
36aa268 to
3c7bed5
Compare
Pull request for series with
subject: n64cart: use strscpy() in n64cart_probe
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1085653