invalid-iterators.patch 593 B

1234567891011
  1. --- contrib/libs/protobuf/src/google/protobuf/generated_message_tctable_gen.cc (index)
  2. +++ contrib/libs/protobuf/src/google/protobuf/generated_message_tctable_gen.cc (working tree)
  3. @@ -431,7 +431,7 @@ std::vector<uint8_t> GenerateFieldNames(
  4. ++count;
  5. }
  6. // The message name is stored at the beginning of the string
  7. - TProtoStringType message_name = descriptor->full_name();
  8. + std::string message_name = descriptor->full_name();
  9. if (message_name.size() > kMaxNameLength) {
  10. static constexpr int kNameHalfLength = (kMaxNameLength - 3) / 2;
  11. message_name = y_absl::StrCat(