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] [thread-next>] [day] [month] [year] [list]
Message-ID: <d721d67e-1eb1-7d4c-24f5-a22ae7fe347b@embeddedor.com>
Date:   Mon, 23 Aug 2021 17:12:25 -0500
From:   "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To:     "Martin K. Petersen" <martin.petersen@...cle.com>,
        "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc:     Don Brace <don.brace@...rochip.com>,
        "James E.J. Bottomley" <jejb@...ux.ibm.com>,
        storagedev@...rochip.com, linux-scsi@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH][next] scsi: smartpqi: Replace one-element array with
 flexible-array member

Hi Martin,

On 8/16/21 22:01, Martin K. Petersen wrote:
> 
> Gustavo,
> 
>> There is a regular need in the kernel to provide a way to declare
>> having a dynamically sized set of trailing elements in a
>> structure. Kernel code should always use “flexible array members”[1]
>> for these cases. The older style of one-element or zero-length arrays
>> should no longer be used[2].
> 
> Applied to 5.15/scsi-staging, thanks!

Thanks for this. :)

Could you take this series too, please:

https://lore.kernel.org/linux-hardening/cover.1628136510.git.gustavoars@kernel.org/

Thanks!
--
Gustavo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ