Bug 921099
Summary: | Memory leak in cyrus-sasl sasl2-sample-server | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Lautrbach <plautrba> | ||||
Component: | cyrus-sasl | Assignee: | Petr Lautrbach <plautrba> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 20 | CC: | ebenes, jjelen, plautrba, tmraz, vanmeeuwen+fedora | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | cyrus-sasl-2.1.26-22.fc22 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 852755 | Environment: | |||||
Last Closed: | 2015-03-26 16:36: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: | 852755 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Petr Lautrbach
2013-03-13 13:29:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle. Changing version to '20'. More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20 Created attachment 997537 [details]
proposed dist git patch
This is pretty harmless issue since it is not in the code of cyrus-sasl, but only in example server.
Tracing it with debuginfo, we can get:
==27249== 11 bytes in 1 blocks are definitely lost in loss record 2 of 27
==27249== at 0x4C28C0F: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==27249== by 0x62A85D9: strdup (in /usr/lib64/libc-2.21.so)
==27249== by 0x10A4CB: mysasl_negotiate (server.c:216)
==27249== by 0x109D65: main (server.c:487)
And using attached patch we can avoid this issue. I think this can be pushed to rawhide. Petr?
This issue was fixed by last cyrus-sasl release in f22, but I put here wrong bug id: https://admin.fedoraproject.org/updates/FEDORA-2015-3857/cyrus-sasl-2.1.26-22.fc22 |