[Bug 1901528] Re: [Ubuntu 20.10] - When zlib acceleration is enabled, gzip fails when given multiple files larger than 5KB (gzip)
Launchpad Bug Tracker
1901528 at bugs.launchpad.net
Thu Jan 28 12:56:00 UTC 2021
This bug was fixed in the package gzip - 1.10-2ubuntu1.1
---------------
gzip (1.10-2ubuntu1.1) groovy; urgency=medium
* Applying patch from upstream to fix a segfault caused by passing
multiple files larger than 5kb to a gzip command while zlib
acceleration is enabled (LP: #1901528)
-- William 'jawn-smith' Wilson <william.wilson at canonical.com> Tue, 19
Jan 2021 12:57:57 -0600
** Changed in: gzip (Ubuntu Groovy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gzip 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:
Fix Committed
Status in gzip package in Ubuntu:
Fix Released
Status in gzip source package in Groovy:
Fix Released
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
More information about the foundations-bugs
mailing list