Re: [PATCH v4 06/10] x86/microcode/AMD: Check patch size in verify_and_add_patch()

From: Boris Petkov
Date: Fri Mar 23 2018 - 12:19:22 EST


On March 23, 2018 9:40:50 AM CDT, "Maciej S. Szmigiero" <mail@xxxxxxxxxxxxxxxxxxxxx> wrote:
>It is possible to keep verify_patch_size() unmodified (with unsigned
>int
>and u32) but microcode container files >4GB in size then may be
>rejected,

If we ever have to support that - which I'm pretty sure we won't - more changes to the container format and parsing will be needed anyway.

Thx.

--
Sent from a small device: formatting sux and brevity is inevitable.