Red Hat Bugzilla – Bug 455913
memberOf plug-in shouldn't use a Slapi_Mod on the stack
Last modified: 2015-01-04 18:33:29 EST
There's a spot in the memberOf plug-in where we use a Slapi_Mod on the stack.
While this works fine, it requires knowledge of how much space a Slapi_Mod takes
up, which is not exported via the public interface. We should only be using the
public interfaces if possible.
The fix is to allocate a Slapi_Mod on the heap instead.
Created attachment 312161 [details]
Checked into ldapserver (HEAD). Thanks to Noriko for her review!
Checking in plugins/memberof/memberof.c;
/cvs/dirsec/ldapserver/ldap/servers/plugins/memberof/memberof.c,v <-- memberof.c
new revision: 1.13; previous revision: 1.12
I'm not sure that QE can verify this bug?
This fix is a code optimization, and is not verifiable by QE. Marking as VERIFIED.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.