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

exrcheck: better tile checks in reduceMemory mode #928

Conversation

peterhillman
Copy link
Contributor

Address out-of-memory report in https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31072
Estimate of memory required to load a tiled image in scanline mode should round up image width to a multiple of the tile width. In this case the image width was small, but the tile width very wide, causing a large underestimate of memory requirement.

PR also adds tests for large tiles to the MultiPartInputFile tests.

Signed-off-by: Peter Hillman peterh@wetafx.co.nz

Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
@peterhillman peterhillman merged commit 81b931f into AcademySoftwareFoundation:master Feb 22, 2021
@peterhillman peterhillman deleted the exrcheck_tile_checks branch February 22, 2021 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants