Skip to content

Harden external image buffer size calculations with safe arithmetic#205

Open
uwezkhan wants to merge 1 commit intogoogle:mainfrom
uwezkhan:overflow-check
Open

Harden external image buffer size calculations with safe arithmetic#205
uwezkhan wants to merge 1 commit intogoogle:mainfrom
uwezkhan:overflow-check

Conversation

@uwezkhan
Copy link
Copy Markdown

This PR ports the fix originally proposed in
libjxl/libjxl#4644
to jpegli, as suggested by maintainers.

It addresses a potential integer overflow in buffer growth logic.

Related: libjxl/libjxl#4644

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