495151b Ticket 47871 - 389-ds-base-1.3.2.21-1.fc20 crashed over the weekend

Authored and Committed by tbordaz 9 years ago
    Ticket 47871 - 389-ds-base-1.3.2.21-1.fc20 crashed over the weekend
    
    Bug Description:
    	Retro-changelog trimming uses a slapi_search_internal_callback_pb to check
    	if the oldest record needs to be trim.
    	The callback function handle_getchangerecord_search stores the entry
    	in the callback structure.
    	Later it evaluates the entry to check its changetime.
    	This is not valid, as the entry is only valid inside the callback.
    
    Fix Description:
    	The callback function 'handle_getchangetime_search' evaluate
    	the changetime and returns it in the callback struct.
    
    https://fedorahosted.org/389/ticket/47871
    
    Reviewed by: Noriko Hosoi (Thanks Noriko !)
    
    Platforms tested: F17/F20
    
    Flag Day: no
    
    Doc impact: no