Skip to content

fix(pnm): use 64-bit scanline math to avoid integer overflow - #5344

Open
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-pnmint
Open

fix(pnm): use 64-bit scanline math to avoid integer overflow#5344
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-pnmint

Conversation

@lgritz

@lgritz lgritz commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Also hoisted an invariant computation of the number of bytes read per scanline out of the loop.

Also hoisted an invariant computation of the number of bytes read per
scanline out of the loop.

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.

1 participant