Skip to content

Conversation

@sfc-gh-mkwiczala
Copy link

@sfc-gh-mkwiczala sfc-gh-mkwiczala commented Jun 11, 2025

What changes were proposed in this pull request?

UBSAN support

Why are the changes needed?

In my project, I havea few UBSAN issues coming fromthe ORC library
Examples:
null pointer access:

external/orc/c++/src/ColumnReader.cc:783:35: runtime error: null pointer passed as argument 2, which is declared to never be null
external/sysroot_v2.17-x86_64/usr/include/string.h:43:28: note: nonnull attribute specified here

load of misaligned

external/orc/c++/src/ColumnReader.cc:424:18: runtime error: load of misaligned address 0x7213ff5a8107 for type 'const int32_t' (aka 'const int'), which requires 4 byte alignment

How was this patch tested?

This patch only enable ubsan support

Was this patch authored or co-authored using generative AI tooling?

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant