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

garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git


The following commit(s) were added to refs/heads/master by this push:
     new 426656d38 Throw ArchiveException instead of EOFException when CPIO 
name size less than or equal to 0 #771.
426656d38 is described below

commit 426656d38254629acdec72764d4f90b95aaf4dbe
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Apr 28 11:40:49 2026 -0400

    Throw ArchiveException instead of EOFException when CPIO name size less
    than or equal to 0 #771.
---
 src/changes/changes.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index abd14dbd3..556d9866b 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -104,6 +104,7 @@ The <action> type attribute can be add,update,fix,remove.
       <action type="fix" dev="ggregory" due-to="Gary 
Gregory">CpioArchiveInputStream.readOldBinaryEntry(boolean) now throws 
ArchiveException instead of Arithmetic exception.</action>
       <action type="fix" issue="COMPRESS-711" dev="pkarwasz" due-to="Piotr P. 
Karwasz">Fix checksum calculation in CpioArchiveInputStream when reading with a 
non-zero offset.</action>
       <action type="fix" issue="COMPRESS-718" dev="ggregory" due-to="Anay 
Wadhera, Gary Gregory">CpioArchiveEntry does not allow files over 4GB in 
OLD_ASCII format.</action>
+      <action type="fix" dev="ggregory" due-to="Christopher Linke, Gary 
Gregory">Throw ArchiveException instead of EOFException when CPIO name size 
less than or equal to 0 #771.</action>
       <!-- FIX gzip -->
       <action type="fix" dev="ggregory" due-to="Gary 
Gregory">GzipParameters.setOperatingSystem(int) now throws CompressorException 
on illegal input.</action>
       <action type="fix" issue="COMPRESS-705" dev="ggregory" due-to="Mario 
Fredenhagen, Gary Gregory">GZip IOException: Extra subfield length exceeds 
remaining bytes in extra field; use new option 
GzipCompressorInputStream.Builder.setIgnoreExtraField(boolean).</action>

Reply via email to