Advertisement

asEP_ALLOW_UNSAFE_REFERENCES caused CContextSerializer to crash

Started by August 18, 2023 04:58 AM
2 comments, last by WitchLord 1 year, 1 month 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.

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

Advertisement

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