commit | f14d5fcd1efec749d0137162efbee6013757494b | [log] [tgz] |
---|---|---|
author | John Bowler <jbowler@acm.org> | Thu Oct 10 08:40:41 2024 -0700 |
committer | Cosmin Truta <ctruta@gmail.com> | Thu Oct 10 22:29:03 2024 +0300 |
tree | 26854a53f8a0d331cbe305ff2c018dc263cca8a0 | |
parent | 7c90057cfee7bfcf03f92bf8c837b11790a17aeb [diff] |
[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 79fd6d1edc8fe8c41ed58c6318bd57761d8f007e from branch 'libpng18'. Reviewed-by: Cosmin Truta <ctruta@gmail.com> Signed-off-by: John Bowler <jbowler@acm.org> Signed-off-by: Cosmin Truta <ctruta@gmail.com>