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

img_set_pixel appears to be faulty #29

Open
ndevenish opened this issue May 15, 2021 · 1 comment
Open

img_set_pixel appears to be faulty #29

ndevenish opened this issue May 15, 2021 · 1 comment

Comments

@ndevenish
Copy link
Member

It looks like it's trying to check if the input x, y is out of range, but it actually checks that y is in range:

https://github.com/yayahjb/cbflib/blob/5c31378d597fb1c6c543f3e372ff80042c600a52/src/img.c#L2073-L2078

@yayahjb
Copy link
Collaborator

yayahjb commented May 15, 2021 via email

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

2 participants