This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git


The following commit(s) were added to refs/heads/trunk by this push:
     new e97f1036f0 Update ClassID.java
e97f1036f0 is described below

commit e97f1036f025c1a87c9d39493aacc7eba39d7e9e
Author: PJ Fanning <[email protected]>
AuthorDate: Sun Aug 3 14:48:37 2025 +0100

    Update ClassID.java
---
 poi/src/main/java/org/apache/poi/hpsf/ClassID.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/poi/src/main/java/org/apache/poi/hpsf/ClassID.java 
b/poi/src/main/java/org/apache/poi/hpsf/ClassID.java
index 7c99b1c4c3..688fd6fa0c 100644
--- a/poi/src/main/java/org/apache/poi/hpsf/ClassID.java
+++ b/poi/src/main/java/org/apache/poi/hpsf/ClassID.java
@@ -153,7 +153,7 @@ public class ClassID implements Duplicatable, GenericRecord 
{
         /* Read 8 bytes. */
         System.arraycopy(src, 8 + offset, bytes, 8, 8);
 
-        return bytes;
+        return bytes.clone();
     }
 
     /**


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to