On Thu, 16 Jan 2025 11:52:14 GMT, Jayathirth D V <j...@openjdk.org> wrote:
> In PNG we have non-essential compressed text chunks zTXt and iTXt, which can > consume considerable amount of memory when they contain large amount of > compressed data. > > We should restrict the amount of text data we want to decompress from these > text chunks. This PR adds limit of 256k bytes of inflated data from each of > zTXt/iTXt chunks. > > There is no regression test because we need PNG file with large amount of > compressed data to hit the limit. Marked as reviewed by azvegint (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/23148#pullrequestreview-2557051173