Bug 1116406
Summary: | botan overwrites gmp's default memory functions | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nikos Mavrogiannopoulos <nmavrogi> |
Component: | botan | Assignee: | Thomas Moschny <thomas.moschny> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | thomas.moschny |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | botan-1.10.9-4.fc20 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-09 09:47:26 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: | 1123803 |
Description
Nikos Mavrogiannopoulos
2014-07-04 13:20:45 UTC
Talked to upstream. Besides the obvious 'well don't unload it then' :) we have to options: - disabling the gmp engine - just disabling the allocator override Opinions? - Don't unload isn't an option because softhsm is a module intended to be loaded and unloaded at runtime. Otherwise botan might be a bad choice for softhsm. - Disabling the gmp engine. I have no idea what it is. Do you mean compiling botan without gmp? That's up to you as a maintainer. If it solves the issue, I'm ok with it. - Just disabling the allocator override: I believe that's the most reasonable option. (In reply to Nikos Mavrogiannopoulos from comment #2) > - Don't unload isn't an option because softhsm is a module intended to be > loaded and unloaded at runtime. Otherwise botan might be a bad choice for > softhsm. Moreover it doesn't solve anything in the scenario I described above. By the time botan is loaded with softhsm there may be already structures allocated by another user of gmp (gnutls in that case). So imho that's a deficit of gmp that one can only override its allocation functions globally. Anyway, I think I will patch Botan and disable the override. botan-1.10.9-4.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/botan-1.10.9-4.el7 botan-1.10.9-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/botan-1.10.9-4.fc20 botan-1.10.9-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/botan-1.10.9-4.fc21 botan-1.10.9-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. botan-1.10.9-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. botan-1.10.9-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |