Blender Git Loki

Git Commits -> Revision b5ea3d2

Revision b5ea3d2 by Julian Eisel (master)
October 6, 2021, 09:24 (GMT)
Fix possible use-after-free when cancelling temporary rename button

If a renaming button was removed via `UI_but_active_only_ex()` and that
button was placed using the layout system, the button was still in the
layout.
So far this didn't cause issues, because all cases where the button may
be removed were not using the layout system.

Commit Details:

Full Hash: b5ea3d2c09c5df49ed783dabdc83820c55effdd2
Parent Commit: ca0450f
Lines Changed: +37, -9

3 Modified Paths:

/source/blender/editors/interface/interface.c (+3, -0) (Diff)
/source/blender/editors/interface/interface_intern.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_layout.c (+33, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021