diff options
author | Jakub Kicinski <[email protected]> | 2024-08-29 12:33:14 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-29 12:33:15 -0700 |
commit | d64d11b733dd435c9fce6397bcc0d235c68d1b39 (patch) | |
tree | ac6376467ea290c9e3838c1543a28e8de9b74483 /lib/crc64.c | |
parent | 3cbd2090d334eb4456db0005f7b76adb3b6fd8db (diff) | |
parent | 82183b03de5f80f5d9c45cbb7129cd03f592f474 (diff) |
Merge branch 'replace-deprecated-strcpy-with-strscpy'
Hongbo Li says:
====================
replace deprecated strcpy with strscpy
The deprecated helper 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() [1].
Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1]
====================
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/crc64.c')
0 files changed, 0 insertions, 0 deletions