lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165217921289.11394.178390152550838154.git-patchwork-notify@kernel.org>
Date:   Tue, 10 May 2022 10:40:12 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Kees Cook <keescook@...omium.org>
Cc:     davem@...emloft.net, lkp@...el.com, kuba@...nel.org,
        pabeni@...hat.com, yajun.deng@...ux.dev, zhengyongjun3@...wei.com,
        morbo@...gle.com, linux-decnet-user@...ts.sourceforge.net,
        netdev@...r.kernel.org, nathan@...nel.org, ndesaulniers@...gle.com,
        trix@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] decnet: Use container_of() for struct dn_neigh casts

Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@...hat.com>:

On Sun,  8 May 2022 03:22:17 -0700 you wrote:
> Clang's structure layout randomization feature gets upset when it sees
> struct neighbor (which is randomized) cast to struct dn_neigh:
> 
> net/decnet/dn_route.c:1123:15: error: casting from randomized structure pointer type 'struct neighbour *' to 'struct dn_neigh *'
> 			gateway = ((struct dn_neigh *)neigh)->addr;
> 				   ^
> 
> [...]

Here is the summary with links:
  - decnet: Use container_of() for struct dn_neigh casts
    https://git.kernel.org/netdev/net/c/dc5306a8c0ea

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ