-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cve-2015-3290: Fix broken 32bit assembly
The 32bit corruption assembly has two bugs: - EBP is missing from asm clobber list which may result in input/output parameters getting overwritten by the "puzzle" - orig_ss is allocated on stack which will result in segfault when restoring %ss to the original value Add EBP to the clobber list and make sure that mov %[orig_ss], %%ss will not use address relative to %esp. Signed-off-by: Martin Doucha <[email protected]> Acked-by: Cyril Hrubis <[email protected]>
- Loading branch information
Showing
1 changed file
with
24 additions
and
13 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