Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libpng16] fix: Correct the function
png_fp_sub
in png.c
The code erroneously evaluated `addend0+addend1` in the case where `addend1` is less than zero. The function is meant to subtract the second argument from the first. This is a cherry-pick of commit 79fd6d1 from branch 'libpng18'. Reviewed-by: Cosmin Truta <[email protected]> Signed-off-by: John Bowler <[email protected]> Signed-off-by: Cosmin Truta <[email protected]>
- Loading branch information