Files
test/source/blender/blenkernel/intern
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
..
2023-05-09 14:08:19 +10:00
2023-05-09 14:08:19 +10:00
2023-04-22 13:46:11 +02:00
2023-05-09 14:08:19 +10:00
2023-05-09 14:08:19 +10:00
2023-05-09 16:05:40 +02:00
2023-05-09 14:08:19 +10:00
2023-05-02 13:07:48 +02:00
2023-05-09 14:08:19 +10:00
2023-05-15 15:14:22 +02:00
2023-05-09 14:08:19 +10:00
2023-05-15 15:14:22 +02:00
2023-02-03 12:41:01 +11:00
2023-05-09 14:08:19 +10:00
2023-05-09 14:08:19 +10:00
2023-05-15 15:14:22 +02:00
2023-05-11 12:08:28 +12:00
2023-05-15 15:14:22 +02:00
2023-05-15 15:14:22 +02:00
2023-05-17 11:35:46 +12:00
2023-05-09 14:08:19 +10:00
2023-05-15 15:14:22 +02:00
2023-05-09 14:08:19 +10:00
2023-05-09 14:08:19 +10:00