fixed same vulnerability in sysfn 48.3

git-svn-id: svn://kolibrios.org@8599 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Rustem Gimadutdinov (rgimad) 2021-02-21 11:03:16 +00:00
parent d82e0a30b4
commit da8b70d99e

View File

@ -141,6 +141,10 @@ dd .setSkinUnicode
cmp edx, 192
jnae @f
mov edx, 192 ; max size
@@:
stdcall is_region_userspace, edi, edx
jnz @f
ret
@@:
mov esi, common_colours
mov ecx, edx