The GitHub Actions job "CI" on tvm-ffi.git/fix/sanitizer-undefined-behavior has failed. Run started by GitHub user henrylhtsang (triggered by tqchen).
Head commit for run: 2550deb0e4d915f2c0ef99def1d3ab600d4ee48c / henrylhtsang <[email protected]> fix(object): use offsetof instead of null pointer arithmetic Replace null pointer member access with the standard offsetof macro from <cstddef> to compute object offset. This avoids undefined behavior caught by UBSan (member access within null pointer). The offsetof macro is portable across GCC, Clang, and MSVC: - GCC/Clang: internally uses __builtin_offsetof - MSVC: uses its own internal mechanism Fixes UBSan warning: member access within null pointer of type 'Object'. Report URL: https://github.com/apache/tvm-ffi/actions/runs/21184079731 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
