Weston Pace created ARROW-13440: ----------------------------------- Summary: [C++] UBSAN error "applying non-zero offset to null pointer" Key: ARROW-13440 URL: https://issues.apache.org/jira/browse/ARROW-13440 Project: Apache Arrow Issue Type: Bug Components: C++ Reporter: Weston Pace
Clang's ubsan considers a non-zero offset being added to a null pointer to be undefined behavior. This causes ubsan violations in our test suites if you are using clang-10 or higher. This was not detected by CI since CI uses clang-8 and this check was added in clang-10 [1][2]. [1] [https://reviews.llvm.org/D67122] [2] [https://releases.llvm.org/10.0.0/tools/clang/docs/ReleaseNotes.html#undefined-behavior-sanitizer-ubsan] -- This message was sent by Atlassian Jira (v8.3.4#803005)