** Description changed:

  When zlib acceleration is enabled, gzip fails when given multiple files
  larger than 5KB.
  
  This problem does not happen when running gzip against a single file at
  a time. It only happens when you provide multiple files as gzip
  arguments.
  
  So this works whether zlib acceleration is enabled or not:
  
  for file in file1 file2; do gzip $file ; done
  
  But this fails (when zlib acceleration is enabled):
  
  gzip file1 file2
  
  The patch to fix this has been accepted upstream:
  
https://git.savannah.gnu.org/cgit/gzip.git/commit/?id=be0a534ba2b6e77da289de8da79e70843b1028cc
+ 
+ [Impact]
+ 
+  * With zlib acceleration enabled, attempting to compress multiple files
+    over 5MB would cause a segmentation fault.
+ 
+  * The files could still be compressed in separate commands
+ 
+ [Test Case]
+ 
+  * Create two files that are larger than 5MB
+ 
+  * Enable zlib acceleration (z15 hardware required)
+ 
+  * Run the command gzip <file1> <file2>
+ 
+  * NOTE: we do not have access to z15 hardware and therefore are relying
+    on IBM to verify this fix
+ 
+ [Where problems could occur]
+ 
+  * Due to lack of testing resources, it's possible the bug has not been
+    fully fixed, and the segmentation fault could still occur.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to zlib in Ubuntu.
https://bugs.launchpad.net/bugs/1901528

Title:
  [Ubuntu 20.10] - When zlib acceleration is enabled, gzip fails when
  given multiple files larger than 5KB (gzip)

Status in Ubuntu on IBM z Systems:
  New
Status in gzip package in Ubuntu:
  Fix Released
Status in zlib package in Ubuntu:
  Invalid
Status in gzip source package in Groovy:
  Confirmed
Status in zlib source package in Groovy:
  Invalid

Bug description:
  When zlib acceleration is enabled, gzip fails when given multiple
  files larger than 5KB.

  This problem does not happen when running gzip against a single file
  at a time. It only happens when you provide multiple files as gzip
  arguments.

  So this works whether zlib acceleration is enabled or not:

  for file in file1 file2; do gzip $file ; done

  But this fails (when zlib acceleration is enabled):

  gzip file1 file2

  The patch to fix this has been accepted upstream:
  
https://git.savannah.gnu.org/cgit/gzip.git/commit/?id=be0a534ba2b6e77da289de8da79e70843b1028cc

  [Impact]

   * With zlib acceleration enabled, attempting to compress multiple files
     over 5MB would cause a segmentation fault.

   * The files could still be compressed in separate commands

  [Test Case]

   * Create two files that are larger than 5MB

   * Enable zlib acceleration (z15 hardware required)

   * Run the command gzip <file1> <file2>

   * NOTE: we do not have access to z15 hardware and therefore are relying
     on IBM to verify this fix

  [Where problems could occur]

   * Due to lack of testing resources, it's possible the bug has not been
     fully fixed, and the segmentation fault could still occur.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1901528/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to