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

uses the PerceptibleReciprocal() to prevent the divide-by-zero from o… #3193

Merged
merged 1 commit into from Feb 3, 2021

Conversation

hifoolno
Copy link
Contributor

@hifoolno hifoolno commented Feb 3, 2021

…ccurring

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practices as demonstrated in the repository.

Description

@urban-warrior urban-warrior merged commit 9751bd6 into ImageMagick:main Feb 3, 2021
@carnil
Copy link

carnil commented Feb 17, 2021

CVE-2021-20243 appears to have been assigned for this issue.

@tcullum-rh
Copy link

Just out of curiosity, how would this occur based off of an input file to ImageMagick? Having a cursory look at https://github.com/ImageMagick/ImageMagick/blob/c9151b59167d6486d65c474aa5d33523c8b292af/MagickCore/resize.c, it seems like the blur is predetermined based on the filter, and not 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants