Skip to content

refactor(imageinput): consolidate decompression-bomb guard#5328

Merged
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-bomb
Jul 20, 2026
Merged

refactor(imageinput): consolidate decompression-bomb guard#5328
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-bomb

Conversation

@lgritz

@lgritz lgritz commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Move the decompression bomb detection in the TIFF reader into into ImageInput::check_compression_ratio() so it can be used uniformly for other input types as well.

Assisted-by: Claude Code / Claude Sonnet 5

Move the decompression bomb detection in the TIFF reader into into
ImageInput::check_compression_ratio() so it can be used uniformly for
other input types as well.

Assisted-by: Claude Code / Claude Sonnet 5

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz
lgritz merged commit d9e0610 into AcademySoftwareFoundation:main Jul 20, 2026
30 checks passed
@lgritz
lgritz deleted the lg-bomb branch July 20, 2026 04:44
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Jul 23, 2026
…ftwareFoundation#5328)

Move the decompression bomb detection in the TIFF reader into into
ImageInput::check_compression_ratio() so it can be used uniformly for
other input types as well.

Assisted-by: Claude Code / Claude Sonnet 5

Signed-off-by: Larry Gritz <lg@larrygritz.com>
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