lkml.org 
[lkml]   [2021]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH][next] sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
    From
    Date
    Dave,

    On 4/16/21 19:00, patchwork-bot+netdevbpf@kernel.org wrote:
    > Hello:
    >
    > This patch was applied to netdev/net-next.git (refs/heads/master):
    >
    > On Fri, 16 Apr 2021 14:12:36 -0500 you wrote:
    >> Fix the following out-of-bounds warning:
    >>
    >> net/sctp/sm_make_chunk.c:3150:4: warning: 'memcpy' offset [17, 28] from the object at 'addr' is out of the bounds of referenced subobject 'v4' with type 'struct sockaddr_in' at offset 0 [-Warray-bounds]
    >>
    >> This helps with the ongoing efforts to globally enable -Warray-bounds
    >> and get us closer to being able to tighten the FORTIFY_SOURCE routines
    >> on memcpy().
    >>
    >> [...]
    >
    > Here is the summary with links:
    > - [next] sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
    > https://git.kernel.org/netdev/net-next/c/e5272ad4aab3

    Thanks for this. Can you take these other two, as well, please?

    https://lore.kernel.org/linux-hardening/20210416201540.GA593906@embeddedor/
    https://lore.kernel.org/linux-hardening/20210416193151.GA591935@embeddedor/

    Thanks!
    --
    Gustavo

    \
     
     \ /
      Last update: 2021-04-17 02:08    [W:3.486 / U:0.276 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site