Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(raw): Avoid buffer overrun for flip direction cases
If you are looping i over range [0,width), and want index to go the other direction, you need `index = width - 1 - i`, not `index = width - i`. Identified by Sonar static analysis. Signed-off-by: Larry Gritz <[email protected]>
- Loading branch information