Open ndevenish opened 3 years ago
Looks like you have found a bug. Want to write and test the fix and submit a pull request?
On Sat, May 15, 2021 at 3:29 PM Nicholas Devenish @.***> wrote:
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:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yayahjb/cbflib/issues/29, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABB6EANUBPBBKDIZ55LQNLTTN3DQJANCNFSM446FVJZA .
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