mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 17:14:06 +00:00
ntdll: Fix valid frame address range in ARM/ARM64.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
33308a577c
commit
1886b3d322
|
@ -89,7 +89,7 @@ static inline BOOL is_valid_frame( ULONG_PTR frame )
|
|||
{
|
||||
if (frame & 3) return FALSE;
|
||||
return ((void *)frame >= NtCurrentTeb()->Tib.StackLimit &&
|
||||
(void **)frame < (void **)NtCurrentTeb()->Tib.StackBase - 1);
|
||||
(void *)frame <= NtCurrentTeb()->Tib.StackBase);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ static inline BOOL is_valid_frame( ULONG_PTR frame )
|
|||
{
|
||||
if (frame & 7) return FALSE;
|
||||
return ((void *)frame >= NtCurrentTeb()->Tib.StackLimit &&
|
||||
(void **)frame < (void **)NtCurrentTeb()->Tib.StackBase - 1);
|
||||
(void *)frame <= NtCurrentTeb()->Tib.StackBase);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue