Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outbound access in vector ptr in function cv_checkCorner #2

Open
lucaregini opened this issue Mar 3, 2015 · 0 comments
Open

Outbound access in vector ptr in function cv_checkCorner #2

lucaregini opened this issue Mar 3, 2015 · 0 comments

Comments

@lucaregini
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant