Blender Git Commit Log

Git Commits -> Revision aebb3d3

Revision aebb3d3 by Bastien Montagne (master)
October 28, 2021, 09:57 (GMT)
Fix (unreported) potential issue in new `BKE_libblock_relink_to_newid_new`

Remapping code could call collection resync code while processing
remapping, which is a good way to crash by accessing no-more-valid
pointers.

Similar issue as with liboverrides resync, fixed the same way by
preventing any collection resync until whole remapping has been done.

This was probably not an issue in practice in current code, since this
is only used by append code currently, which should not affect
layers/collections in current scene yet.

Commit Details:

Full Hash: aebb3d3062babd9da7c89a7acd4126f4339d201f
Parent Commit: 2898431
Lines Changed: +16, -3

1 Modified Path:

/source/blender/blenkernel/intern/lib_remap.c (+16, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021