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

Correct limits test for TIFF #2101

Merged
merged 1 commit into from
Jan 14, 2024
Merged

Conversation

fintelia
Copy link
Contributor

TIFF decoding actually allocates three times the image's size:

  • a buffer for the raw (potentially compressed) chunk
  • an intermediate buffer to return from the tiff crate to the image crate
  • the buffer buffer allocated within the image crate

@fintelia fintelia merged commit 4bf9891 into image-rs:master Jan 14, 2024
35 checks passed
@fintelia fintelia deleted the tiff-limits-check branch January 14, 2024 00: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.

1 participant