** 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
Bugs, which is subscribed to 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)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to