mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
Sync with trunk r63637.
svn path=/branches/shell-experiments/; revision=63640
This commit is contained in:
commit
73d72624b0
410 changed files with 4745 additions and 12328 deletions
|
@ -38,7 +38,8 @@ void _chkesp_failed(void)
|
|||
int CDECL _resetstkoflw(void)
|
||||
{
|
||||
int stack_addr;
|
||||
DWORD oldprot;
|
||||
|
||||
/* causes stack fault that updates NtCurrentTeb()->Tib.StackLimit */
|
||||
return VirtualProtect( &stack_addr, 1, PAGE_GUARD|PAGE_READWRITE, NULL );
|
||||
return VirtualProtect(&stack_addr, 1, PAGE_GUARD|PAGE_READWRITE, &oldprot);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue