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

Fix bmp option to bypass file size check #7194

Merged
merged 2 commits into from
Mar 28, 2024

Conversation

OnTheList-1
Copy link
Contributor

@OnTheList-1 OnTheList-1 commented Mar 25, 2024

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

ImageMagick provides an option for user to bypass file size check for bmp image. Currently, ImageMagick is retrieving option after file size check. This pull request aims to fix this by moving the option retrieval infront of the file size check, if the option
bmp:ignore-filesize is defined, actual file size won't be checked against file structure file size.

Copy link
Member

@dlemstra dlemstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR. We should check this in both places.

@dlemstra dlemstra merged commit 8d54813 into ImageMagick:main Mar 28, 2024
5 of 8 checks passed
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.

2 participants