diff options
author | Sang-Hoon Park <sang-hoon.park@arm.com> | 2020-07-08 11:06:30 +0100 |
---|---|---|
committer | Sang-Hoon Park <sang-hoon.park@arm.com> | 2020-07-13 08:03:32 +0000 |
commit | 38515425707b239a1d02d3a4f480a9d97efbb9ba (patch) | |
tree | 1e68a4035e934d3e5ab829c0124bf09757e64a38 /src/core/CL/kernels/CLGEMMMatrixMultiplyNativeKernel.cpp | |
parent | 3ef9b5fb7c3f393a32977250ce0c4cb5d45ae555 (diff) | |
download | ComputeLibrary-38515425707b239a1d02d3a4f480a9d97efbb9ba.tar.gz |
COMPMID-3531: fix index offset overflows in NEDirectConvolutionLayerKernel
When a large input and kernel is used, the computation of "max_offset"
variable can overflow. Adjust types of the variable as well as
the variable compared with for consistency.
The test spotted the overflow is added to nightly suite.
Change-Id: I2f114e4b49167889a6d3729c71823c089d6f42e3
Signed-off-by: Sang-Hoon Park <sang-hoon.park@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3527
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-by: Manuel Bottini <manuel.bottini@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLGEMMMatrixMultiplyNativeKernel.cpp')
0 files changed, 0 insertions, 0 deletions