spring: develop de701e7b | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
esainane | rtri | develop | 2019-11-03 17:00:24 | develop 06cccc5d |
Changeset | Prevent nullpo in LuaMenu Reload call (0000481) * Prevent nullpo in LuaMenu Reload call `game` can be a null pointer when LuaMenu calls `SpringApp::Reload`. In practice this didn't cause many problems, as this gets optimised as a fixed function call, with a null `this` parameter. This led it to be left unnoticed. However, when using tools that are stricter about bad behaviour (-fsanitize=...), this would detect a null pointer dereference and abort the program. |
|||
mod - rts/System/SpringApp.cpp | [ Diff ] [ File ] |