forked from KolibriOS/kolibrios
fixed same vulnerability in sysfn 48.3
git-svn-id: svn://kolibrios.org@8599 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d82e0a30b4
commit
da8b70d99e
@ -141,6 +141,10 @@ dd .setSkinUnicode
|
|||||||
cmp edx, 192
|
cmp edx, 192
|
||||||
jnae @f
|
jnae @f
|
||||||
mov edx, 192 ; max size
|
mov edx, 192 ; max size
|
||||||
|
@@:
|
||||||
|
stdcall is_region_userspace, edi, edx
|
||||||
|
jnz @f
|
||||||
|
ret
|
||||||
@@:
|
@@:
|
||||||
mov esi, common_colours
|
mov esi, common_colours
|
||||||
mov ecx, edx
|
mov ecx, edx
|
||||||
|
Loading…
Reference in New Issue
Block a user