Merge pull request #25780 from asmorkalov:as/gapi_arm_overflow

Fixed input buffer read overflow in vectorized G-API convertTo implementation
pull/25788/head
Alexander Smorkalov 5 months ago committed by GitHub
commit d1b643a05a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      modules/gapi/src/backends/fluid/gfluidcore_func.simd.hpp

@ -2915,7 +2915,7 @@ CV_ALWAYS_INLINE
typename std::enable_if<DST_SHORT_OR_USHORT, void>::type
convertto_simd_nocoeff_impl(const uchar* inx, DST* outx)
{
v_uint8 a = vx_load(inx);
v_uint8 a = vx_load_low(inx);
v_uint16 res = v_expand_low(a);
store_i16(outx, res);

Loading…
Cancel
Save