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

ASF subversion and git services commented on AVRO-2717:
-------------------------------------------------------

Commit 071db199b28dc0d06b0f4cfc2c81504efd04a51d in avro's branch 
refs/heads/main from Mikhail Koviazin
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=071db199b ]

AVRO-2717: Fix UB in ZigZag encoding (pre C++-20) (#2744)



> Fix undefined behaviour in ZigZag encoding if Avro was compiled with the C++ 
> standard less than C++20.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AVRO-2717
>                 URL: https://issues.apache.org/jira/browse/AVRO-2717
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: c++
>            Reporter: Aleksei
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> The fix is here: 
> [https://github.com/apache/avro/compare/master...ClickHouse-Extras:master]
> It is found while testing with UBSan here: 
> [https://github.com/ClickHouse/ClickHouse/pull/8717]
> For further info look here: 
> [https://en.cppreference.com/w/cpp/language/operator_arithmetic]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to