Invalid read of size 8 when using ippiCopyConstBorder_16u_C1R(const Ipp<datatype>* pSrc, int srcStep, IppiSize srcRoiSize, Ipp<datatype>* pDst, int dstStep, IppiSizedstRoiSize, int topBorderHeight, int leftBorderWidth, const Ipp<datatype> value[3] for full source image ROI as highlighted.
When pSrc image is changed( increasing its width and height by 1) then there is no issue.
Please confirm if usecase is valid that source ROI can be full source image. and if yes, Please confirm if there is a invalid read of 8 bytes.
IPP vsersion used :8.0
Valgrind logs:
==5662== Invalid read of size 8
==5662== at 0xA14A573: __intel_ssse3_memcpy (in /magichome/cots/intel/ipp80/ia32/libippiv8.so.8.0)
==5662== by 0x8AB9510: s8_ippiCopyConstBorder_16u_C1R (in /magichome/cots/intel/ipp80/ia32/libippiv8.so.8.0)
For more complete information about compiler optimizations, see our Optimization Notice.