Blender Git Loki

Git Commits -> Revision 174f39b

Revision 174f39b by Falk David (blender-v2.93-release)
June 30, 2021, 07:18 (GMT)
Fix T89265: Crash when tabbing through num inputs

Fix by reverting the part of ec30cf0b742f5181c4de91b474ca01d6a809c593
that assigned `but->editval` in `ui_numedit_begin_set_values`.

Causing access freed memory when using tab to switch
to a numeric input and then leaving the textbox by clicking outside.
This was because `ui_numedit_begin_set_values` shouldn't need to set
`but->editval` and overwrite the pointer.
This would set a pointer that had previously been freed,
causing a `NULL` check to fail later on.

Ref D11679

Commit Details:

Full Hash: 174f39bd039350737cb84fb21b4dd2264c381a21
Parent Commit: 27e3265
Committed By: Jeroen Bakker
Lines Changed: +11, -8

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021