Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/fpu: Validate the init_fpstate size
The init_fpstate is statically-allocated. But the setup code is missing to validate the init_fpstate.xsave buffer against init_fpstate.size. Add sanity check to stop XSTATE if the space is not enough. Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
- Loading branch information
1 parent
c17cdb7
commit e1dead9
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters