PHP Code:
bool MyClass::SDK_OnLoad(char *error, size_t maxlength, bool late)
{
try
{
g_pSM->LogError(myself, "1");
char c[1];
sprintf(c, "12345");
c[4294967297] = 5;
g_pSM->LogError(myself, "2");
}
catch(...)
{
g_pSM->LogError(myself, "3");
}
g_pSM->LogError(myself, "4");
return true;
}
result:
1
Even 'catch' not called. Stupid world.