update
git-svn-id: svn://kolibrios.org@9224 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
4f59e32470
commit
4f072de650
|
@ -5215,11 +5215,11 @@ syscall_writetext: ; WriteText
|
||||||
push esi ;check pointer on kernel address.
|
push esi ;check pointer on kernel address.
|
||||||
test ecx, 0x80000000
|
test ecx, 0x80000000
|
||||||
jz @f
|
jz @f
|
||||||
mov esi, 0
|
xor esi, esi
|
||||||
@@:
|
@@:
|
||||||
stdcall is_region_userspace, edx, esi
|
stdcall is_region_userspace, edx, esi
|
||||||
jnz .err_1
|
|
||||||
pop esi
|
pop esi
|
||||||
|
jnz .err
|
||||||
|
|
||||||
mov eax, [TASK_BASE]
|
mov eax, [TASK_BASE]
|
||||||
mov ebp, [eax-twdw+WDATA.box.left]
|
mov ebp, [eax-twdw+WDATA.box.left]
|
||||||
|
@ -5245,8 +5245,6 @@ align 4
|
||||||
stdcall is_region_userspace, edi, 0
|
stdcall is_region_userspace, edi, 0
|
||||||
jnz .err
|
jnz .err
|
||||||
jmp dtext
|
jmp dtext
|
||||||
.err_1:
|
|
||||||
pop esi
|
|
||||||
.err:
|
.err:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue