You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2017/06/24 15:14:13 UTC

[3/3] commons-compress git commit: COMPRESS-407 record backwards incompatible change

COMPRESS-407 record backwards incompatible change

closes #40 && closes #41 && closes #42


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/fb9b6180
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/fb9b6180
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/fb9b6180

Branch: refs/heads/master
Commit: fb9b6180428694c45a8befab3ca32834d99acece
Parents: e57007c
Author: Stefan Bodewig <bo...@apache.org>
Authored: Sat Jun 24 17:13:24 2017 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sat Jun 24 17:13:24 2017 +0200

----------------------------------------------------------------------
 src/changes/changes.xml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/fb9b6180/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 0ec4038..b9dafea 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -43,7 +43,13 @@ The <action> type attribute can be add,update,fix,remove.
   </properties>
   <body>
     <release version="1.15" date="not released, yet"
-             description="Release 1.15">
+             description="Release 1.15
+----------------------------------------
+
+TarArchiveOutputStream now ensures record size is 512 and block size is
+a multiple of 512 as any other value would create invalid tar
+archives. This may break compatibility for code that deliberately
+wanted to create such files.">
       <action issue="COMPRESS-394" type="fix" date="2017-05-22">
         Make sure "version needed to extract" in local file header and
         central directory of a ZIP archive agree with each other.
@@ -77,6 +83,13 @@ The <action> type attribute can be add,update,fix,remove.
         Made sure ChecksumCalculatingInputStream receives valid
         checksum and input stream instances via the cnstructor.
       </action>
+      <action issue="COMPRESS-407" type="fix" date="2017-06-24"
+              due-to="Simon Spero ">
+        TarArchiveOutputStream now verifies the block and record sizes
+        specified at construction time are compatible with the tar
+        specification. In particular 512 is the only recird size
+        accepted and the block size must be a multiple of 512.
+      </action>
     </release>
     <release version="1.14" date="2017-05-14"
              description="Release 1.14">