Blender Git Commit Log

Git Commits -> Revision 1cf8a4e

Revision 1cf8a4e by Hans Goudey (master)
October 14, 2020, 15:00 (GMT)
Fix Asan warning in property editor texture tab

When there is no active texture, a NULL pointer was dereferenced.
It didn't crash because the dereference was for the first item at the
pointer, the ID. To fix this, return with no data when `texture is NULL.

Commit Details:

Full Hash: 1cf8a4e5ea5dc1e791c1b242d7d2d032dd194c78
Parent Commit: fecb276
Lines Changed: +4, -0

1 Modified Path:

/source/blender/editors/space_buttons/buttons_context.c (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021