Files
test/source/blender/blenlib
Bart van der Braak 075c2eca06 Fix #144483: Use-after-free when splitting View3D opened Asset Shelf
`asset_shelf::regiondata_duplicate()` first creates a shallow copy of
the `AssetShelf`, including its `AssetShelfSettings` member. So the
contained pointer point to the same memory.

While this is a rather unusual case for a copy assignment operator to
consider, I think this is fine since the API allows these shadow copies.
This is a bit of a consequence of mixing C and C++ style memory
management.

Pull Request: https://projects.blender.org/blender/blender/pulls/144613
2025-08-19 12:26:13 +02:00
..
2025-07-30 14:22:06 +10:00
2025-07-30 14:22:06 +10:00