Bug 1433697
| Summary: | Double free in _ldap/servers/plugins/replication/cl5_api.c:cl5NewDBFile() | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | mreynolds | |
| Component: | 389-ds-base | Assignee: | mreynolds | |
| Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 7.4 | CC: | nkinder, rmeggins | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 389-ds-base-1.3.6.1-4.el7 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1433703 (view as bug list) | Environment: | ||
| Last Closed: | 2017-08-01 21:14:10 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1433703 | |||
|
Description
mreynolds
2017-03-19 12:07:55 UTC
Fixed upstream *** Bug 1433703 has been marked as a duplicate of this bug. *** Build tested:
389-ds-base-1.3.6.1-14.el7.x86_64
[1] Exhaust available semaphores:
# for i in $(seq 1 $(awk '{print $NF}' /proc/sys/kernel/sem)); do ipcmk -S 1; done
[2] Run replication test:
# py.test -s -v /export/tests/suites/replication/acceptance_test.py::test_add_entry
Expectedly test fails, because server fails to create semaphore:
May 20 15:01:57 XXX ns-slapd[13260]: [20/May/2017:15:01:57.577477095 -0400] - ERR - NSMMReplicationPlugin - changelog program - _cl5NewDBFile - Failed to create semaphore /var/lib/dirsrv/slapd-master_2/changelogdb/97d41bc5-3d8e11e7-93918b95-29c229d4.sema; NSPR error - -5956
But it doesn't crash. 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-2017:2086 |