mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
4f109d1292
begin_x[1] is not the second component of the element, but the element after the one pointed to begin_x. When begin_x points to the last element, that line overwrites data past the end of the allocation, which, during my tests, happened to contain the reference count for the matrix. Hilarity ensues. |
||
---|---|---|
.. | ||
doc | ||
include/opencv2/imgproc | ||
perf | ||
src | ||
test | ||
CMakeLists.txt |