Skip to content

Add checks, if enough data is present when reading PNG text chunks#3081

Merged
JimBobSquarePants merged 6 commits intomainfrom
bp/fixIssue3079
Mar 11, 2026
Merged

Add checks, if enough data is present when reading PNG text chunks#3081
JimBobSquarePants merged 6 commits intomainfrom
bp/fixIssue3079

Conversation

@brianpopow
Copy link
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 fixes issues when there is not enough data present in PNG language chunks discovered in #3079

Copy link
Member

@JimBobSquarePants JimBobSquarePants left a comment

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 89face0 into main Mar 11, 2026
12 checks passed
@JimBobSquarePants JimBobSquarePants deleted the bp/fixIssue3079 branch March 11, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IndexOutOfRangeException in ReadCompressedTextChunk and ReadInternationalTextChunk with truncated chunks

2 participants