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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 29 Nov 2023 14:25:36 -0600
From: "Gustavo A. R. Silva" <>
To: Kees Cook <>,
 "Gustavo A. R. Silva" <>
Cc: Kent Overstreet <>,
 Brian Foster <>,,,
Subject: Re: [PATCH][next] bcachefs: Replace zero-length arrays with
 flexible-array members

On 11/29/23 14:15, Kees Cook wrote:
> On Tue, Nov 28, 2023 at 12:22:55PM -0600, Gustavo A. R. Silva wrote:
>> Fake flexible arrays (zero-length and one-element arrays) are
>> deprecated, and should be replaced by flexible-array members.
>> So, replace zero-length arrays with flexible-array members
>> in multiple structures.
>> Signed-off-by: Gustavo A. R. Silva <>
> These look like straight-forward conversions. Thanks!

Yep, these also fix a buch of -Warray-bounds warnings reported
by 0-day:

> Reviewed-by: Kees Cook <>


Powered by blists - more mailing lists