This commit is contained in:
13
engine/vm.c
13
engine/vm.c
@@ -2296,6 +2296,19 @@ static sxi32 VmByteCodeExec(
|
||||
#endif
|
||||
PH7_MemObjToCallback(pTos);
|
||||
break;
|
||||
/*
|
||||
* CVT_RES: * * *
|
||||
*
|
||||
* Force the top of the stack to be a resource
|
||||
*/
|
||||
case PH7_OP_CVT_RES:
|
||||
#ifdef UNTRUST
|
||||
if(pTos < pStack) {
|
||||
goto Abort;
|
||||
}
|
||||
#endif
|
||||
PH7_MemObjToResource(pTos);
|
||||
break;
|
||||
/*
|
||||
* CVT_VOID: * * *
|
||||
*
|
||||
|
Reference in New Issue
Block a user