aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-05-20 17:57:54 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-05-20 17:57:54 -0700
commit644cad6178badd4bc5411680c944eb244a3438c4 (patch)
tree33a9a922170c74970c2f409afa0f47273c92b307 /src
parent02accdb6e331a990e9a1db5c9f54efc02ee6c832 (diff)
Fix segfault exposed by Ruby
Diffstat (limited to 'src')
-rw-r--r--src/core/surface/call.c1
-rw-r--r--src/ruby/corebin0 -> 79941632 bytes
2 files changed, 1 insertions, 0 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c
index 50df36cae9..e43634384a 100644
--- a/src/core/surface/call.c
+++ b/src/core/surface/call.c
@@ -597,6 +597,7 @@ static void call_on_done_send(void *pc, int success) {
finish_ioreq_op(call, GRPC_IOREQ_SEND_STATUS, success);
finish_ioreq_op(call, GRPC_IOREQ_SEND_CLOSE, 1);
}
+ call->send_ops.nops = 0;
call->last_send_contains = 0;
call->sending = 0;
unlock(call);
diff --git a/src/ruby/core b/src/ruby/core
new file mode 100644
index 0000000000..6fac943e32
--- /dev/null
+++ b/src/ruby/core
Binary files differ