[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6154) response/cleanup callback mismatch

Full_Name: Hallvard B Furuseth
Version: HEAD, RE24
Submission from: (NULL) (
Submitted by: hallvard

result.c:slap_send_search_entry() calls slap_cleanup_play() without
having called slap_response_play() if backend_operational() failed.

This breaks back-relay's cleanup handler relay_back_swap_bd() - or
rather, I suppose it makes that handler break cleanup handlers
called after it. It restores op->o_bd from o_callback->sc_private,
which was supposedly set by the o_callback->sc_response call.