Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-44276: [C++] Fix UBSAN error introduced by Decimal32 #44280

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

zeroshade
Copy link
Member

@zeroshade zeroshade commented Oct 1, 2024

Rationale for this change

Fixing UBSAN errors caused by Decimal32/Decimal64 addition

What changes are included in this PR?

Wrapping left shifts in SafeLeftShift to avoid UBSAN errors.

@zeroshade zeroshade requested review from kou and pitrou October 1, 2024 14:44
@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Oct 1, 2024
Copy link

github-actions bot commented Oct 1, 2024

⚠️ GitHub issue #44276 has been automatically assigned in GitHub to PR creator.

Copy link
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let's just wait for CI

@zeroshade zeroshade merged commit 5d689b4 into apache:main Oct 1, 2024
40 checks passed
@zeroshade zeroshade deleted the fix-ubsan branch October 1, 2024 15:27
@kou
Copy link
Member

kou commented Oct 1, 2024

@zeroshade Could you use our merge script https://github.com/apache/arrow/blob/main/dev/merge_arrow_pr.py instead of GitHub merge button next time?
It not only merges a PR but also closes the associated issue and sets milestone to the associated issue.
(And it also removes <!-- ... -> parts in PR description.)

Copy link

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 5d689b4.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 8 possible false positives for unstable benchmarks that are known to sometimes produce them.

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.

3 participants