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: <20191216.161002.378231914918115139.davem@davemloft.net>
Date:   Mon, 16 Dec 2019 16:10:02 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     sven@...fation.org
Cc:     netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] ipv6: Annotate ipv6_addr_is_* bitwise pointer casts

From: Sven Eckelmann <sven@...fation.org>
Date: Fri, 13 Dec 2019 21:24:28 +0100

> The sparse commit 6002ded74587 ("add a flag to warn on casts to/from
> bitwise pointers") introduced a check for non-direct casts from/to
> restricted datatypes (when -Wbitwise-pointer is enabled).
> 
> This triggered a warning in the 64 bit optimized ipv6_addr_is_*() functions
> because sparse doesn't know that the buffer already points to some data in
> the correct bitwise integer format. But these were correct and can
> therefore be marked with __force to signalize sparse an intended cast to a
> specific bitwise type.
> 
> Signed-off-by: Sven Eckelmann <sven@...fation.org>

Applied to net-next

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ