Working on multiprocessing support
[tpg/acess2.git] / Kernel / lib.c
index 5decb9f..a7cffd6 100644 (file)
@@ -691,6 +691,9 @@ Uint rand(void)
  */
 int CheckString(char *String)
 {
+       if( !MM_GetPhysAddr( (tVAddr)String ) )
+               return 0;
+       
        // Check 1st page
        if( MM_IsUser( (tVAddr)String ) )
        {

UCC git Repository :: git.ucc.asn.au