Skip to content

Add check, if Offset is greater then stream length when reading bitmap colorMapSize - #3075

Merged
JimBobSquarePants merged 2 commits into
mainfrom
bp/fixIssue3074
Mar 8, 2026
Merged

JimBobSquarePants merged 2 commits into
mainfrom
bp/fixIssue3074

Conversation

@brianpopow

Copy link
Copy Markdown
Collaborator

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

This PR adds a check, if Offset is greater then stream length when reading bitmap colorMapSize. This PR fixes issue #3074

@JimBobSquarePants JimBobSquarePants left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect. Thanks!

@JimBobSquarePants
JimBobSquarePants merged commit 461c021 into main Mar 8, 2026
12 checks passed
@JimBobSquarePants
JimBobSquarePants deleted the bp/fixIssue3074 branch March 8, 2026 23:12
antonfirsov added a commit that referenced this pull request Mar 17, 2026
antonfirsov added a commit that referenced this pull request Mar 17, 2026
JimBobSquarePants added a commit that referenced this pull request Mar 18, 2026
[2.1] Backport #3075 - Add check, if Offset is greater then stream length when reading bitmap colorMapSize
JimBobSquarePants added a commit that referenced this pull request Mar 22, 2026
[3.1] Backport #3075 - Add check, if Offset is greater then stream length when reading bitmap colorMapSize
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