• Roman Donchenko's avatar
    Fixed a memory access error in CV_Remap_Test::generate_test_data. · 4f109d12
    Roman Donchenko authored
    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.
    4f109d12
Name
Last commit
Last update
..
doc Loading commit data...
include/opencv2/imgproc Loading commit data...
perf Loading commit data...
src Loading commit data...
test Loading commit data...
CMakeLists.txt Loading commit data...