Blender Git Loki
Git Commits -> Revision 0a87fd4
Revision 0a87fd4 by Ankit Meel (lanpr-under-gp, lineart-bvh, lineart-shadow, temp-lineart-contained, temp_lineart_contained) October 1, 2020, 13:37 (GMT) |
Fix T81100: ccl::Node: ASan SEGV due to bad pointer `SOCKET_OFFSETOF` was added in the initial commit {rBec51175f1fd6c91d5} when `offsetof` [1] was not supported well enough. GCC and LLVM support it since C++17. Other two changes: type and size check can be done without creating an invalid address too. [1] https://cppreference.com/w/cpp/types/offsetof Reviewed By: campbellbarton, brecht Maniphest Tasks: T81100 Differential Revision: https://developer.blender.org/D9042 |
Commit Details:
Full Hash: 0a87fd4b9293587fc9ad0f01d8003511965f5b3f
Parent Commit: fe0b6b5
Committed By: YimingWu
Lines Changed: +3, -3
1 Modified Path:
/intern/cycles/graph/node_type.h (+3, -3) (Diff)