Bug 840926

Summary: slow memory leak on modify operations
Product: Red Hat Enterprise Linux 6 Reporter: Nalin Dahyabhai <nalin>
Component: slapi-nisAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 6.3CC: dpal, jgalipea
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: slapi-nis-0.40-3.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 09:50:09 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 Nalin Dahyabhai 2012-07-17 15:40:39 UTC
The plugin leaks memory during modify operations because it mistakenly assumes that slapi_mods_add_smod() takes ownership of the Slapi_Mod structure which is passed to it, when it really only takes ownership of the structure's contents.  The bug was fixed in upstream version 0.42, and we can either rebase to pick it up or backport the fix, as it's not an intrusive set of changes.

Comment 3 Namita Soman 2013-01-24 17:36:45 UTC
Ran regression tests for IPA. No issues found. Marking this verified - Sanity only

Comment 5 errata-xmlrpc 2013-02-21 09:50:09 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-0370.html