Re: [patch 05/41] x86/fpu: Limit xstate copy size in xstateregs_set()

From: Andy Lutomirski
Date: Fri Jun 11 2021 - 14:37:30 EST


On 6/11/21 9:15 AM, Thomas Gleixner wrote:
> If the count argument is larger than the xstate size, this will happily
> copy beyond the end of xstate.

Reviewed-by: Andy Lutomirski <luto@xxxxxxxxxx>

This interface is horrible. Oh well.