Blame SOURCES/openldap-ITS8428-init-sc_writewait.patch

95f81a
Backport upstream fix for a crash in back-relay when doing do_search.
95f81a
RHBZ: #1316450
95f81a
95f81a
commit 2e60bf5ed00c1a8794131f53a6c72a78c0766e21
95f81a
Author: Howard Chu <hyc@openldap.org>
95f81a
Date:   Wed May 18 12:30:31 2016 +0100
95f81a
95f81a
    ITS#8428 init sc_writewait
95f81a
95f81a
diff --git a/servers/slapd/back-relay/op.c b/servers/slapd/back-relay/op.c
95f81a
index 4fdc08a..f7c1fee 100644
95f81a
--- a/servers/slapd/back-relay/op.c
95f81a
+++ b/servers/slapd/back-relay/op.c
95f81a
@@ -97,6 +97,7 @@ relay_back_response_cb( Operation *op, SlapReply *rs )
95f81a
 		(rcb)->rcb_sc.sc_next = (op)->o_callback;	\
95f81a
 		(rcb)->rcb_sc.sc_response = relay_back_response_cb; \
95f81a
 		(rcb)->rcb_sc.sc_cleanup = 0;			\
95f81a
+		(rcb)->rcb_sc.sc_writewait = 0;			\
95f81a
 		(rcb)->rcb_sc.sc_private = (op)->o_bd;		\
95f81a
 		(op)->o_callback = (slap_callback *) (rcb);	\
95f81a
 }