Outbound access in vector ptr in function cv_checkCorner
Opened this issue · 0 comments
lucaregini commented
In the following line if (ptr[i][x + j] == 0) there are outbound reads:
for example the loop runs with i=0, x= 0 and j=-2
In this function there is something seriously wrong. A 3-nested loop is used to scan a vector of 5 elements and from time to time the x paramenter in the function gets values that are far away too high ( e.g. 614).