Blender Git Commit Log

Git Commits -> Revision 071799d

Revision 071799d by Falk David (master)
June 23, 2021, 04:56 (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: 071799d4fc44f422abacbdad09bb45fb95de89f2
Parent Commit: 61b22d2
Committed By: Campbell Barton
Lines Changed: +1, -1

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021