[
https://issues.apache.org/jira/browse/ARROW-11470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kenta Murata updated ARROW-11470:
---------------------------------
Description:
OSS-Fuzz reports the integer multiplication in ComputeRowMajorStrides function
occurs overflow.
https://oss-fuzz.com/testcase-detail/6232257264222208
The same issue exists in ComputeColumnMajorStrides.
Moreover the similar overflow issue is occurred in CalculateValueOffset
function called from CheckTensorStridesValidity function.
https://oss-fuzz.com/testcase-detail/6583463383793664
was:
OSS-Fuzz reports the integer multiplication in ComputeRowMajorStrides function
occurs overflow.
https://oss-fuzz.com/testcase-detail/6232257264222208
The same issue exists in ComputeColumnMajorStrides.
> [C++] Overflow occurs on integer multiplications in ComputeRowMajorStrides,
> ComputeColumnMajorStrides, and CheckTensorStridesValidity
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ARROW-11470
> URL: https://issues.apache.org/jira/browse/ARROW-11470
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Kenta Murata
> Assignee: Kenta Murata
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> OSS-Fuzz reports the integer multiplication in ComputeRowMajorStrides
> function occurs overflow.
> https://oss-fuzz.com/testcase-detail/6232257264222208
> The same issue exists in ComputeColumnMajorStrides.
> Moreover the similar overflow issue is occurred in CalculateValueOffset
> function called from CheckTensorStridesValidity function.
> https://oss-fuzz.com/testcase-detail/6583463383793664
--
This message was sent by Atlassian Jira
(v8.3.4#803005)