Fix ubsan reported failure

pull/10761/head
Craig Tiller 8 years ago
parent 989aa7f97d
commit 56bbe02ca1
  1. 6
      include/grpc++/impl/codegen/call.h
  2. 2
      third_party/zlib

@ -245,8 +245,10 @@ class CallOpSendInitialMetadata {
op->data.send_initial_metadata.metadata = initial_metadata_;
op->data.send_initial_metadata.maybe_compression_level.is_set =
maybe_compression_level_.is_set;
op->data.send_initial_metadata.maybe_compression_level.level =
maybe_compression_level_.level;
if (maybe_compression_level_.is_set) {
op->data.send_initial_metadata.maybe_compression_level.level =
maybe_compression_level_.level;
}
}
void FinishOp(bool* status) {
if (!send_) return;

2
third_party/zlib vendored

@ -1 +1 @@
Subproject commit cacf7f1d4e3d44d871b605da3b647f07d718623f
Subproject commit 50893291621658f355bc5b4d450a8d06a563053d
Loading…
Cancel
Save