This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
commit 680846dcb5a071db9740a871fd8608246d1a9899 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue May 16 10:46:27 2023 -0400 Encapsulate PngChunkIccp --- .../org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java index a508b012..46ea41ea 100644 --- a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java +++ b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java @@ -106,7 +106,7 @@ public class PngChunkIccp extends PngChunk { } public byte[] getCompressedProfile() { - return compressedProfile; + return compressedProfile.clone(); } public int getCompressionMethod() {