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: <7a8bd689-93dc-d1a1-fa2b-bb8b615fdcd8@iogearbox.net>
Date:   Wed, 24 Jan 2018 10:42:18 +0100
From:   Daniel Borkmann <daniel@...earbox.net>
To:     Alexei Starovoitov <ast@...nel.org>, davem@...emloft.net
Cc:     netdev@...r.kernel.org, ecree@...arflare.com
Subject: Re: [PATCH bpf-next] selftests/bpf: make 'dubious pointer arithmetic'
 test useful

On 01/24/2018 05:05 AM, Alexei Starovoitov wrote:
> mostly revert the previous workaround and make
> 'dubious pointer arithmetic' test useful again.
> Use (ptr - ptr) << const instead of ptr << const to generate large scalar.
> The rest stays as before commit 2b36047e7889.
> 
> Fixes: 2b36047e7889 ("selftests/bpf: fix test_align")
> Signed-off-by: Alexei Starovoitov <ast@...nel.org>

Applied to bpf-next, thanks Alexei!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ