Skip to content

fix(targa): Protection against corrupt, mis-sized palette#5165

Open
lgritz wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
lgritz:lg-targa
Open

fix(targa): Protection against corrupt, mis-sized palette#5165
lgritz wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
lgritz:lg-targa

Conversation

@lgritz
Copy link
Copy Markdown
Collaborator

@lgritz lgritz commented Apr 24, 2026

  • Check that the palette isn't senselessly bigger than the bpp calls for.
  • Protection against integer overflow when addressing the palette.

* Check that the palette isn't senselessly bigger than the bpp calls
  for.
* Protection against integer overflow when addressing the palette.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz
Copy link
Copy Markdown
Collaborator Author

lgritz commented Apr 25, 2026

The original reporter of the problem said that this patch fixes it.

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