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