Index: third_party/protobuf/src/google/protobuf/descriptor.pb.cc |
diff --git a/third_party/protobuf/src/google/protobuf/descriptor.pb.cc b/third_party/protobuf/src/google/protobuf/descriptor.pb.cc |
index 47595bbdcdecd1a16bed848e55e9304e62da02a7..7d16080ee98f2c13de584b4a46dffee5d0f51fe6 100644 |
--- a/third_party/protobuf/src/google/protobuf/descriptor.pb.cc |
+++ b/third_party/protobuf/src/google/protobuf/descriptor.pb.cc |
@@ -1066,7 +1066,8 @@ bool FileDescriptorProto::MergePartialFromCodedStream( |
DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
input, this->add_dependency())); |
::google::protobuf::internal::WireFormat::VerifyUTF8String( |
- this->dependency(0).data(), this->dependency(0).length(), |
+ this->dependency(this->dependency_size() - 1).data(), |
+ this->dependency(this->dependency_size() - 1).length(), |
::google::protobuf::internal::WireFormat::PARSE); |
} else { |
goto handle_uninterpreted; |