You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had several times a crash within Seat::checkAllGoals.
After a bit of search, it seems a vector iterator can be invalidated when the vector is resized (which might happen when elements are inserted). That might crash.
This one was tricky for me as I'm not used to STL containers :)
I've had several times a crash within Seat::checkAllGoals.
After a bit of search, it seems a vector iterator can be invalidated when the vector is resized (which might happen when elements are inserted). That might crash.
This one was tricky for me as I'm not used to STL containers :)
If interested, I'm talking about :
https://github.com/OpenDungeons/OpenDungeons/blob/development/source/Seat.cpp#L124
then we do
https://github.com/OpenDungeons/OpenDungeons/blob/development/source/Seat.cpp#L126
The text was updated successfully, but these errors were encountered: