You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/11/23 19:17:00 UTC

[jira] [Commented] (ARROW-13440) [C++] UBSAN error "applying non-zero offset to null pointer"

    [ https://issues.apache.org/jira/browse/ARROW-13440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17448230#comment-17448230 ] 

Antoine Pitrou commented on ARROW-13440:
----------------------------------------

Is this fixed or not? The linked PRs don't seem very informative.

> [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
>            Assignee: Weston Pace
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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.20.1#820001)