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 (AcademySoftw…
…areFoundation#4100) 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 <lg@larrygritz.com> Signed-off-by: Peter Kovář <peter.kovar@reflexion.tv>
- Loading branch information