n64cart: use strscpy() in n64cart_probe#769
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
|
Upstream branch: aa54b1d |
36aa268 to
3c7bed5
Compare
b1870f6 to
ca57796
Compare
|
Upstream branch: 70eda68 |
3c7bed5 to
e62c830
Compare
ca57796 to
c1feb59
Compare
|
Upstream branch: 8bc67e4 |
e62c830 to
055109b
Compare
c1feb59 to
ea833a1
Compare
|
Upstream branch: 6779b50 |
055109b to
804d48e
Compare
ea833a1 to
7af85d1
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: 79bd2dd |
804d48e to
21f2f36
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