Messages in this thread | | | Date | Wed, 13 Sep 2017 20:37:01 +0200 | From | Borislav Petkov <> | Subject | Re: [RFC Part2 PATCH v3 15/26] KVM: SVM: Add support for SEV LAUNCH_START command |
| |
On Wed, Sep 13, 2017 at 01:23:08PM -0500, Brijesh Singh wrote: > Yes, I will add some upper bound check on the length field and add the > sanity-check just after copying the parameters from userspace
Also, you could either fail the command if some of the reserved fields are set - picky - or zero them out - less picky :)
-- Regards/Gruss, Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --
| |