Dalai Felinto
49a35033be
Fix T51877: Deleting a scene uses freed memory
...
At the moment libblock_remap_data_preprocess is using
FOREACH_SCENE_OBJECT to iterate over all the objects of the scene and
unlink them.
However we were storing a reference to the Base of the removed object.
Anyways, the loop is now sanitized so that this crash no longer happens.
Also now we have an unittest for this.
2017-06-30 19:03:02 +02:00
..
2017-06-30 19:03:02 +02:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-19 16:12:11 +10:00
2017-06-30 19:03:02 +02:00
2017-06-19 16:12:11 +10:00