[dm-devel] [PATCH v3 11/12] security, crypto: LLVMLinux: Remove VLAIS from ima_crypto.c

Behan Webster behanw at converseincode.com
Mon Sep 15 14:25:16 UTC 2014


On 09/15/14 07:21, Linus Torvalds wrote:
> On Mon, Sep 15, 2014 at 12:30 AM,  <behanw at converseincode.com> wrote:
>> From: Behan Webster <behanw at converseincode.com>
>>
>> Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99
>> compliant equivalent. This patch allocates the appropriate amount of memory
>> using a char array using the SHASH_DESC_ON_STACK macro.
> You only made the first case use SHASH_DESC_ON_STACK, the two other
> cases you left in the ugly format. Was that just an oversight, or was
> there some reason for it?
>
Oversight. Will Fix.

Behan

-- 
Behan Webster
behanw at converseincode.com




More information about the dm-devel mailing list