PH7_VmMemoryError() always breaks script execution.
Tous les contrôles ont réussi
The build was successful.

Cette révision appartient à :
Rafal Kupiec 2019-03-09 13:28:04 +01:00
Parent 7eba38a633
révision b7e3ad9f46
Signé par: belliash
ID de la clé GPG: 4E829243E0CFE6B4

Voir le fichier

@ -2452,7 +2452,6 @@ static sxi32 VmByteCodeExec(
pMap = PH7_NewHashmap(&(*pVm), 0, 0); pMap = PH7_NewHashmap(&(*pVm), 0, 0);
if(pMap == 0) { if(pMap == 0) {
PH7_VmMemoryError(&(*pVm)); PH7_VmMemoryError(&(*pVm));
goto Abort;
} }
pObj->x.pOther = pMap; pObj->x.pOther = pMap;
} }
@ -2485,7 +2484,6 @@ static sxi32 VmByteCodeExec(
pMap = PH7_NewHashmap(&(*pVm), 0, 0); pMap = PH7_NewHashmap(&(*pVm), 0, 0);
if(pMap == 0) { if(pMap == 0) {
PH7_VmMemoryError(&(*pVm)); PH7_VmMemoryError(&(*pVm));
goto Abort;
} }
if(pInstr->iP1 > 0) { if(pInstr->iP1 > 0) {
ph7_value *pEntry = &pTos[-pInstr->iP1 + 1]; /* Point to the first entry */ ph7_value *pEntry = &pTos[-pInstr->iP1 + 1]; /* Point to the first entry */