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-compress.git


The following commit(s) were added to refs/heads/master by this push:
     new 37f79359c [COMPRESS-713] Unchecked pre-decremental notation in 
for-loop as array index causes ArrayOutOfBounds access #755
37f79359c is described below

commit 37f79359c5c631e7d7062ca9228acffbb4477163
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Dec 9 16:41:42 2025 -0500

    [COMPRESS-713] Unchecked pre-decremental notation in for-loop as array 
index causes ArrayOutOfBounds access #755
---
 src/changes/changes.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 19a18467c..7b09eca60 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -75,6 +75,7 @@ The <action> type attribute can be add,update,fix,remove.
       <action type="fix" dev="ggregory" due-to="Tyler Nighswander, Gary 
Gregory">ZipArchiveInputStream.read() now throws an IOException instead of 
java.lang.ArrayIndexOutOfBoundsException.</action>
       <action type="fix" dev="ggregory" due-to="Stanislav Fort, Gary 
Gregory">ZipArchiveInputStream now throws an MemoryLimitException instead of 
ArchiveException, or OutOfMemoryError when running with low memory settings set 
on the command line.</action>
       <action type="fix" dev="ggregory" due-to="YuWeiBoy, Gary Gregory" 
issue="COMPRESS-708">ZstdCompressorInputStream closes the InputStream held by 
ZipArchiveInputStream garbage collection.</action>
+      <action type="fix" dev="pkarwasz" due-to="Gary Gregory, Piotr P. 
Karwasz" issue="COMPRESS-713">Unchecked pre-decremental notation in for-loop as 
array index causes ArrayOutOfBounds access #755.</action>
       <!-- FIX tar -->
       <action type="fix" dev="pkarwasz" due-to="Tyler Nighswander, Piotr P. 
Karwasz, Gary Gregory">>Uniform handling of special tar records in TarFile and 
TarArchiveInputStream.</action>
       <action type="fix" dev="ggregory" due-to="Gary Gregory, Stanislav 
Fort">TarArchiveOutputStream now throws a IllegalArgumentException instead of 
an OutOfMemoryError.</action>

Reply via email to