[
https://issues.apache.org/jira/browse/AVRO-2717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818388#comment-17818388
]
ASF subversion and git services commented on AVRO-2717:
-------------------------------------------------------
Commit 50374b3aa0e0bcf8cddc512742bc7947c9c34303 in avro's branch
refs/heads/branch-1.11 from Mikhail Koviazin
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=50374b3aa ]
AVRO-2717: Fix UB in ZigZag encoding (pre C++-20) (#2744)
(cherry picked from commit 071db199b28dc0d06b0f4cfc2c81504efd04a51d)
> 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)