Files
test/source/blender/blenkernel
Campbell Barton 5b5a1e3581 Fix crash assessing freed memory when pasting materials
- Pasting a material would free the materials local node-tree,
  leaving it in the depsgraph which would then tag the freed ID
  (from deg_graph_clear_id_recalc_flags).
- texpaintslot, gp_style pointers were copied into the clipboard without
  being cleared or duplicated, allowing for freed memory access later on.
- A shallow copy from the cliboard into the material could also cause
  these pointers to be overwritten and leak memory.

Resolve by calling material_free_data before performing a shallow copy
and adding material_clear_data which ensures these pointers aren't
copied into the clipboard.
2023-05-30 15:50:27 +10:00
..
2022-11-12 18:33:31 +01:00
2023-05-02 13:07:48 +02:00
2023-04-05 14:39:51 +10:00
2023-03-13 11:57:03 +01:00
2023-04-26 16:14:07 +10:00
2022-10-05 13:48:01 -05:00
2023-03-03 10:09:20 +11:00
2023-05-17 11:35:46 +12:00
2023-05-08 11:48:01 +02:00
2023-04-05 15:30:32 +02:00
2023-04-21 19:08:44 +02:00