From da8b70d99e447a74837dc56026384025f0afef1f Mon Sep 17 00:00:00 2001 From: "Rustem Gimadutdinov (rgimad)" Date: Sun, 21 Feb 2021 11:03:16 +0000 Subject: [PATCH] fixed same vulnerability in sysfn 48.3 git-svn-id: svn://kolibrios.org@8599 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/gui/window.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/trunk/gui/window.inc b/kernel/trunk/gui/window.inc index c699407ba5..d6312fb9bd 100644 --- a/kernel/trunk/gui/window.inc +++ b/kernel/trunk/gui/window.inc @@ -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