diff options
author | Bastien Montagne <bastien@blender.org> | 2022-08-22 13:10:04 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-08-22 13:15:50 +0300 |
commit | c973d333da31c139c69943f743a2f342be610cce (patch) | |
tree | b0ebe9489007f7adb2f5ee6da8c00292961c7c20 /release/scripts/startup/bl_ui/space_view3d.py | |
parent | f29f0230176951f095ca847aac4ebc885d60e59c (diff) |
Fix T100527: Right click in the attribute name field crashes blender.
`UI_context_active_but_prop_get_templateID` became much more widely used
with recent rBfec254364884, which revealed that it did not do any check
on actual type of data it accesses, resulting easily in undefined
behavior.
Now also check the callback function pointer, this should be safe
enough.
Patch by @Severin (Julian Eisel), many thanks!
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
0 files changed, 0 insertions, 0 deletions