asEP_ALLOW_UNSAFE_REFERENCES caused CContextSerializer to crash

Started by
2 comments, last by WitchLord 6 months, 1 week ago

Hello Andreas.

I found turning asEP_ALLOW_UNSAFE_REFERENCES to 1 would cause CContextSerializer::Serialize in file test_context.cpp to crash.

It seems that when reading scriptData->byteCode in asCScriptFunction::FindNextFunctionCalled, the array index out of the bounds, but I don't know where the real problem is.

Advertisement

Thanks for letting me know about this.

I'll investigate and have it fixed as soon as possible.

Regards,

Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

I've fixed this in revision 2870.

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement