mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
c5f6ed6fef
`step` and `maskStep` are used to increase/decrease `pImage`. But it's done on unsigned type, relying on overflow, which is UB. (step is size_t but seed.y is int and can be negative, the result is therefore unsigned which can overflow)