From 8c8771e04d482838de347aef3d1c15d26f3fe782 Mon Sep 17 00:00:00 2001 From: Doczom Date: Fri, 17 Dec 2021 06:07:45 +0000 Subject: [PATCH] add check handler driver git-svn-id: svn://kolibrios.org@9430 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/dll.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/trunk/core/dll.inc b/kernel/trunk/core/dll.inc index 5083255dc1..e27841bc17 100644 --- a/kernel/trunk/core/dll.inc +++ b/kernel/trunk/core/dll.inc @@ -172,6 +172,10 @@ srv_handlerEx: jae .fail mov eax, [ecx+handle] + + cmp eax, OS_BASE + jae .fail + cmp [eax+SRV.magic], ' SRV' jne .fail