mrc0mmand / rpms / openldap

Forked from rpms/openldap 3 years ago
Clone

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

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