Messages in this thread | | | Date | Mon, 12 Mar 2018 10:53:37 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH v2] x86/microcode/AMD: check microcode file sanity before loading it |
| |
On Sun, Mar 11, 2018 at 04:27:03PM +0100, Maciej S. Szmigiero wrote: > +/* 4k */ > +#define UCODE_EQUIV_CPU_TABLE_MAX_SIZE (256 * sizeof(struct equiv_cpu_entry))
And you came up with that max size how exactly?
> +/* If a patch is larger than this the microcode file is surely corrupted */ > +#define PATCH_MAX_SIZE_ABSOLUTE (16 * 1024 * 1024)a
Same question here.
-- Regards/Gruss, Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
| |