Bug 1758494
Summary: | LeakSanitizer: detected memory leaks in do_add | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Viktor Ashirov <vashirov> |
Component: | 389-ds-base | Assignee: | thierry bordaz <tbordaz> |
Status: | CLOSED ERRATA | QA Contact: | RHDS QE <ds-qe-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.1 | CC: | lkrispen, mreynolds, nkinder, pasik, spichugi, tbordaz, vashirov |
Target Milestone: | rc | Flags: | mreynolds:
mirror+
|
Target Release: | 8.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 389-ds-base-1.4.2.4-7.module+el8.2.0+5670+0b8b1c2e | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-28 16:01:22 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: |
Description
Viktor Ashirov
2019-10-04 10:04:39 UTC
This leak is fixed in master. The leak occurred when nsslapd-unhashed-pw-switch == off. nsslapd-unhashed-pw-switch default value was recently changed to 'off' that explains why we did not detect the leak before (with the same test case) As suggested in the bug description it was fixed with https://pagure.io/389-ds-base/pull-request/50523 (git log -p -1 340f23990199698cb42b4a4e2686d3c404745800 ldap/servers/slapd/add.c) It was fixed without BZ so switch this bug to POST ====================================================================================================== test session starts ====================================================================================================== platform linux -- Python 3.6.8, pytest-5.3.5, py-1.8.1, pluggy-0.13.1 -- /usr/bin/python3.6 cachedir: .pytest_cache metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-179.el8.x86_64-x86_64-with-redhat-8.2-Ootpa', 'Packages': {'pytest': '5.3.5', 'py': '1.8.1', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.8.0', 'html': '2.0.1'}} 389-ds-base: 1.4.2.4-7.1asan.el8 nss: 3.44.0-15.el8 nspr: 4.21.0-2.el8_0 openldap: 2.4.46-11.el8 cyrus-sasl: 2.1.27-1.el8 FIPS: disabled rootdir: /mnt/tests/rhds/tests/upstream/ds/dirsrvtests, inifile: pytest.ini plugins: metadata-1.8.0, html-2.0.1 collected 1 item ds/dirsrvtests/tests/suites/basic/basic_test.py::test_basic_referrals PASSED [100%] ================================================================================================ 1 passed, 16 warnings in 23.23s ================================================================================================ Automated test passed, no leaks reported. Marking as VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1703 |