lkml.org 
[lkml]   [2023]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v2] net: wwan: replace deprecated strncpy with strscpy
    From
    Date
    Hello:

    This patch was applied to netdev/net-next.git (main)
    by Jakub Kicinski <kuba@kernel.org>:

    On Thu, 19 Oct 2023 18:21:22 +0000 you wrote:
    > strncpy() is deprecated for use on NUL-terminated destination strings
    > [1] and as such we should prefer more robust and less ambiguous string
    > interfaces.
    >
    > We expect chinfo.name to be NUL-terminated based on its use with format
    > strings and sprintf:
    > rpmsg/rpmsg_char.c
    > 165: dev_err(dev, "failed to open %s\n", eptdev->chinfo.name);
    > 368: return sprintf(buf, "%s\n", eptdev->chinfo.name);
    >
    > [...]

    Here is the summary with links:
    - [v2] net: wwan: replace deprecated strncpy with strscpy
    https://git.kernel.org/netdev/net-next/c/75e7d0b2d223

    You are awesome, thank you!
    --
    Deet-doot-dot, I am a bot.
    https://korg.docs.kernel.org/patchwork/pwbot.html


    \
     
     \ /
      Last update: 2023-10-21 04:01    [W:3.943 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site