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. This pull request has now been integrated. Changeset: 398a5805 Author: Jayathirth D V <j...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/398a580518b4e7961bdddf733e0a89ff25bc437a Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod 8347911: Limit the length of inflated text chunks Reviewed-by: azvegint, prr ------------- PR: https://git.openjdk.org/jdk/pull/23148