9258b18 Ticket 47612 - ns-slapd eats all the memory

Authored and Committed by lkrispen 10 years ago
    Ticket 47612 - ns-slapd eats all the memory
    
    Bug Description:  slpad process quickly grows and runs out of memory
    	The reason is that an entry is copied and one of teh attributes
    	has a next reference to itself, so that it will try to copy it
    	infinitely.
    	The state is an effect of moving an attribute to the deleted
    	attributes if the present valueset is empty, but in urp this
    	is also called for deleted attributes and so ti will be added
    	again.
    
    Fix Description:   check if attribute is present before moving to deleted
    
    https://fedorahosted.org/389/ticket/47612
    
    Reviewed by: ?