From: Jakub Kicinski Date: Thu, 29 Aug 2024 19:33:14 +0000 (-0700) Subject: Merge branch 'replace-deprecated-strcpy-with-strscpy' X-Git-Tag: v6.12-rc1~232^2~144 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d64d11b733dd435c9fce6397bcc0d235c68d1b39;p=thirdparty%2Flinux.git 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/20240828123224.3697672-1-lihongbo22@huawei.com Signed-off-by: Jakub Kicinski --- d64d11b733dd435c9fce6397bcc0d235c68d1b39