Bug 696891
Summary: | Memory leak in icaltimezone_set_component | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Milan Crha <mcrha> |
Component: | libical | Assignee: | Robert Scheck <redhat-bugzilla> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 14 | CC: | mcrha, rdieter, redhat-bugzilla |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libical-0.48-1.fc15 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-01-01 19:29:14 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
reported upstream, https://sourceforge.net/tracker/?func=detail&aid=3287603&group_id=16077&atid=116077 libical-0.48-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/libical-0.48-1.fc15 libical-0.48-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/libical-0.48-1.el5 libical-0.48-1.el4 has been submitted as an update for Fedora EPEL 4. https://admin.fedoraproject.org/updates/libical-0.48-1.el4 libical-0.48-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/libical-0.48-1.fc16 Package libical-0.48-1.el4: * should fix your issue, * was pushed to the Fedora EPEL 4 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing libical-0.48-1.el4' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2011-5265/libical-0.48-1.el4 then log in and leave karma (feedback). libical-0.48-1.el4 has been pushed to the Fedora EPEL 4 stable repository. If problems still persist, please make note of it in this bug report. libical-0.48-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. libical-0.48-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. libical-0.48-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |
When doing some tests in evolution-data-server I found that libical is leaking memory whenever is called icaltimezone_set_component. The valgrind log says: > 11 bytes in 1 blocks are definitely lost in loss record 73 of 1,446 > at 0x4A05E46: malloc (vg_replace_malloc.c:195) > by 0x33E6E7FC01: strdup (strdup.c:43) > by 0x33FC239612: icaltimezone_get_vtimezone_properties (icaltimezone.c:291) > by 0x401EE2: main (test-client-add-timezone.c:204) and the statement at test-client-add-timezone.c:204 is just above mentioned call of icaltimezone_set_component. It would be nice to have this fixed, at least for Fedora 15+, because this function can be called often in evolution-data-server, thus theoretically anything using its calendar factory. Mine libical package version is: libical-0.46-2.fc14.x86_64