Fix T81100
CHECK_TYPE was added in rBd828d44d7a93: Cycles: use LIKELY/UNLIKELY macros
SOCKET_OFFSETOF in rBec51175f1fd6: Code refactor: add generic Cycles node infrastructure.
Differential D9042
Fix T81100: ccl::Node: ASan SEGV due to bad pointer Authored by Ankit Meel (ankitm) on Sep 28 2020, 8:02 PM.
Details Fix T81100 CHECK_TYPE was added in rBd828d44d7a93: Cycles: use LIKELY/UNLIKELY macros
Diff Detail
Event TimelineComment Actions @Campbell Barton (campbellbarton) I don't have a gcc compiler. Since you added the CHECK_TYPE macro, could you check if this change works on gcc ? Comment Actions This was required at some point since offsetof didn't work with all C++ classes, now that we have C++17 it should work with all the compilers we support as far as I can tell. |