Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567952 - app-arch/pbzip2: pbzip2 -cd sometimes (rarely) truncates data (upstream patch available)
Summary: app-arch/pbzip2: pbzip2 -cd sometimes (rarely) truncates data (upstream patch...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL: https://bugs.launchpad.net/pbzip2/+bu...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-12-11 00:47 UTC by Kevin Korb
Modified: 2022-12-28 19:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Korb 2015-12-11 00:47:59 UTC
Upstream discussion is here:
https://bugs.launchpad.net/pbzip2/+bug/1524909
Upstream patch is here:
https://bazaar.launchpad.net/~pbzip2/pbzip2/bug-1524909-cd-truncates-output-sometimes/diff/46?context=3

Not sure how long it will be before they release a new version.  Setting minor severity because I have a workaround and there will be a new release sometime in the future.

Reproducible: Sometimes

Steps to Reproduce:
1. Download referenced example file (one created by emerge -b)
2. pbzip2 -cd broken.tar.bz2 > broken.tar
3. tar -tvf broken.tar
Actual Results:  
The tar file gets truncated

Expected Results:  
Should get the same file you get with 'pbzip2 -d broken.tar.bz2'
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-12-14 10:22:31 UTC
commit a00cf04f5b8d1c2b284c21cf3670b0d1a1a9ac51
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Mon Dec 14 11:20:56 2015

    app-arch/pbzip2: Revbump to fix possible data corruption (#567952).

    Package-Manager: portage-2.2.26
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>


Thanks for the report.