Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fix: The change corrects the function png_fp_sub in the file png.c. #616

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

jbowler
Copy link
Contributor

@jbowler jbowler commented Oct 10, 2024

The code erroneously evalulated addend0+addend1 in the case where
addend1 is less than zero. The function is meant to subtract the second
argument from the first.

The code erroneously evalulated addend0+addend1 in the case where
addend1 is less than zero.  The function is meant to subtract the second
argument from the first.

Signed-off-by: John Bowler <[email protected]>
@jbowler jbowler changed the title bug fix png fp sub bug fix: The change corrects the function png_fp_sub in png.c Oct 10, 2024
@jbowler jbowler changed the title bug fix: The change corrects the function png_fp_sub in png.c bug fix: The change corrects the function png_fp_sub in the file png.c. Oct 10, 2024
@ctruta ctruta merged commit f14d5fc into pnggroup:libpng16 Oct 10, 2024
1 check passed
@jbowler jbowler deleted the bug-fix-png_fp_sub branch October 10, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants