Blender Git Commit Log
Git Commits -> Revision 0c0bc61
Revision 0c0bc61 by Julian Eisel (master) December 7, 2020, 13:35 (GMT) |
Fix access to invalid data in Outliner tree building Non-ID tree-elements would cast their data pointer to `ID *` and take the name and ID-Code from there. The name would actually be overridden a few lines later, so that didn't cause issues. But the ID-Code stored inside the tree element kept an undefined value. In practice that probably didn't cause many issues either, since it's just an undefined value that was very unlikely to take a valid 16-bit ID-code value, meaning ID-Code checks would simply fail as they should. Further there typically are other checks to see if the element actually represents an ID. However, in theory this may have caused a few random crashes or data-corruptions. |
Commit Details:
Full Hash: 0c0bc619181419a3005faf034706d77ef24457e6
Parent Commit: cf9275d
Lines Changed: +7, -1
1 Modified Path:
/source/blender/editors/space_outliner/outliner_tree.c (+7, -1) (Diff)