Bug 911110
Summary: | krb5_get_init_creds_keytab() leaks memory | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Spacek <pspacek> | ||||
Component: | krb5 | Assignee: | Nalin Dahyabhai <nalin> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 17 | CC: | nalin, nathaniel, pspacek | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | krb5-1.10.2-8.fc17 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 911147 (view as bug list) | Environment: | |||||
Last Closed: | 2013-03-16 01:31:08 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 911147 | ||||||
Attachments: |
|
Description
Petr Spacek
2013-02-14 12:16:30 UTC
(In reply to comment #0)> AFAIK the memory leak originates in lookup_etypes_for_keytab() function. > File gic_keytab.c:101 contains krb5_kt_next_entry() call in a loop, but > there is no krb5_kt_free_entry() call in this loop. Looks like you're right: there's supposed to be some krb5_free_keytab_entry_contents() action in there. Created attachment 703982 [details]
proposed patch
krb5-1.10.2-8.fc17 fixed the problem on my system, thank you! krb5-1.10.2-9.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/FEDORA-2013-3116/krb5-1.10.2-9.fc17 krb5-1.10.3-14.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2013-3147/krb5-1.10.3-14.fc18 krb5-1.10.2-9.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/FEDORA-2013-3116/krb5-1.10.2-9.fc17 Package krb5-1.10.3-14.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing krb5-1.10.3-14.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3147/krb5-1.10.3-14.fc18 then log in and leave karma (feedback). krb5-1.10.2-9.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. krb5-1.10.3-14.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |