-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Environment (Required on creation):
Any distribution, LDAP identity plugin enabled.
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
The checkPassword method leaves an orphaned LDAP context. If the resource is not closed properly, it can lead to memory leaks.
Steps to reproduce (Required on creation):
- Enable the LDAP identity plugin in any distribution.
- Stress test user login (the checkPassword method), e.g.:
- Enable authentication for the REST API.
- Repeatedly call any method that requires authentication from a stress test tool.
Observed Behavior (Required on creation):
A memory leak.
Expected behavior (Required on creation):
No memory leak.
Root Cause (Required on prioritization):
Solution Ideas (Optional):
Close the context in a finally block, see this PR
Hints (optional):
This is the controller panel for Smart Panels app
[CAM-14622] In LDAP plugin, #checkPassword leaves an orphaned LDAP context which causes a memory leak
Link | New: This issue is related to SUPPORT-13556 [ SUPPORT-13556 ] |
Fix Version/s | New: 7.18.0 [ 17394 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Remaining Estimate | New: 0 minutes [ 0 ] | |
Original Estimate | New: 0 minutes [ 0 ] |
Summary | Original: Failure to close LDAP context might cause a memory leak | New: In LDAP plugin, #checkPassword leaves an orphaned LDAP context which causes a memory leak |
DRI | New: Tassilo Weidner [ tassilo.weidner ] | |
Reviewer | New: Tassilo Weidner [ tassilo.weidner ] |
Labels | Original: SUPPORT |
Link | Original: This issue is related to SUPPORT-13556 [ SUPPORT-13556 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |