[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-hardening
Subject: Re: [PATCH v3][next] scsi: aacraid: Replace one-element array with flexible-array member
From: "Martin K. Petersen" <martin.petersen () oracle ! com>
Date: 2021-04-22 3:34:51
Message-ID: yq1zgxrrodw.fsf () ca-mkp ! ca ! oracle ! com
[Download RAW message or body]
Kees,
>> The amended memcpy() hunk appears to be missing from the v3 patch.
>
> It's unchanged from the perspective of the original code. (i.e. there's
> no need to change it since that memcpy isn't involved in anything
> changed by the swapping to the flexible array.)
Ah, I was under the impression that you intended to do sizeof(*sge) to
match the kmalloc_array() above.
--
Martin K. Petersen Oracle Linux Engineering
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic