gzip unlinks input before closing output, results in data loss

Bug #69510 reported by dkg
6
Affects Status Importance Assigned to Milestone
gzip (Debian)
Fix Released
Unknown
gzip (Ubuntu)
Fix Released
Undecided
Unassigned
Dapper
Fix Released
Undecided
Martin Pitt

Bug Description

This is the exact same bug as debian bug 366660:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=366660

This is already fixed in edgy (because of folding in the upstream changes), but dapper still has the problem.

This is a severe problem, because of the potential for data loss. One of my users has already experienced data loss because of it.

Changed in gzip:
status: Unconfirmed → Confirmed
Changed in gzip:
status: Unknown → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed since Edgy

Changed in gzip:
status: Confirmed → Fix Released
assignee: nobody → pitti
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

This is the debdiff that I just uploaded. It only moves the input file unlinking to a later point in the code (after a successful close() call). I verified that the updated package still works and behaves normally. Unfortunately the actual bug is hard to reproduce, one would need to trigger a failure of close(). Thus verification efforts should concentrate on testing the normal functionality to check for regressions.

Waiting in dapper-proposed UNAPPROVED queue now for acceptance.

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into dapper-proposed, please test.

Changed in gzip:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

I have used the actual dapper-proposed .debs in my dapper vmware for about a month, and it still works fine.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to dapper-updates.

Changed in gzip:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.