libzip-0.9 has a memory leak in zip_close

Bug #623846 reported by beniz on 2010-08-25
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libzip (Ubuntu)
Undecided
Unassigned
Lucid
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).

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.

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
Benjamin Drung (bdrung) wrote :

uploaded to lucid-proposed

Changed in libzip (Ubuntu Lucid):
status: Triaged → Fix Committed

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
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
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  Edit
Everyone can see this information.

Other bug subscribers