libzip-0.9 has a memory leak in zip_close

Bug #623846 reported by beniz
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libzip (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned

Bug Description

libzip-0.9 is affected by a well-known memory leak:
http://www.nih.at/listarchive/libzip-discuss/msg00052.html

Ubuntu 10.04 is shipped with libzip-0.9 and affected by this leak.

This is especially bad on permanent processes opening and closing archives.

Upgrading 10.04 to libzip-0.9.3 would solve the problem.

(Note that 10.04 package is listed as 0.9-3 BUT the libzip being packaged is libzip-0.9, NOT libzip-0.9.3).

Revision history for this message
Firas Kraïem (firas) wrote :

Since the bug is well-known and fixed upstream, I have made a debdiff for a possible SRU. I don't use the package, though, so I can't test without precise test instructions.

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

    libzip | 0.9.3-1 | maverick | source

Should be fixed in maverick, closing.

ACK for the lucid SRU, please upload/sponsor. Thanks!

Changed in libzip (Ubuntu):
status: New → Fix Released
Changed in libzip (Ubuntu Lucid):
status: New → Triaged
Revision history for this message
Benjamin Drung (bdrung) wrote :

uploaded to lucid-proposed

Changed in libzip (Ubuntu Lucid):
status: Triaged → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted libzip into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Verification for lucid
I've not been able to observe the leak (even by routinely opening and closing archives a huge amount of times) but libzip 0.9-3ubuntu0.1 in -proposed successfully passed the regression tests.

marking as verification-done.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libzip - 0.9-3ubuntu0.1

---------------
libzip (0.9-3ubuntu0.1) lucid-proposed; urgency=low

  * Fix memory leaks in zip_close. (LP: #623846)
 -- Firas Kraiem <email address hidden> Sun, 19 Sep 2010 16:47:51 +0200

Changed in libzip (Ubuntu Lucid):
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.