forked from KolibriOS/kolibrios
is_region_userspace: removed extra condition which caused incorrect behavior of boxlib menu in hexedit and rtfread (cuz it uses address 0 i didnt know:D )
git-svn-id: svn://kolibrios.org@8493 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
f81b4538a5
commit
906e6d8dce
@ -5692,12 +5692,6 @@ proc is_region_userspace stdcall, base:dword, len:dword
|
|||||||
cmp eax, OS_BASE
|
cmp eax, OS_BASE
|
||||||
ja @f
|
ja @f
|
||||||
|
|
||||||
mov ebx, 0xFFFFFFFF
|
|
||||||
sub ebx, [base]
|
|
||||||
inc ebx
|
|
||||||
cmp [len], ebx
|
|
||||||
ja @f
|
|
||||||
|
|
||||||
add eax, [len]
|
add eax, [len]
|
||||||
cmp eax, OS_BASE
|
cmp eax, OS_BASE
|
||||||
ja @f
|
ja @f
|
||||||
|
Loading…
Reference in New Issue
Block a user