diff options
author | Falk David <falkdavid@gmx.de> | 2021-06-23 07:56:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-23 07:56:36 +0300 |
commit | 071799d4fc44f422abacbdad09bb45fb95de89f2 (patch) | |
tree | 3e838f390c5dad529a7a62205d9ddec835f48ded /source/blender/blenloader | |
parent | 61b22d27c8b9b64f04a7dd585eac11134184a235 (diff) |
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
Diffstat (limited to 'source/blender/blenloader')
0 files changed, 0 insertions, 0 deletions