mirror of
https://github.com/opencv/opencv.git
synced 2026-09-11 04:43:22 -05:00
When chtype is double (used by bicubic64fC1 .. bicubic64fC4), std::is_same_v<double, float> evaluated to false. As a result, buftype erroneously defaulted to int, and pixbuf was allocated as int pixbuf[NCHANNELS][4]. That could trigger out of bound integer computations.