diff options
author | Daniil Cherednik <dcherednik@ydb.tech> | 2023-09-26 17:10:50 +0000 |
---|---|---|
committer | Daniil Cherednik <dcherednik@ydb.tech> | 2023-09-26 17:10:50 +0000 |
commit | 052aa976d2efa2bf85bccddadd3390e2892ea3a9 (patch) | |
tree | 8e65537efc65588a0fa602c0369a78a7c629e4a3 /contrib/libs | |
parent | 1aea989538126dcf9bb99aa87313ba942e679e7b (diff) | |
download | ydb-052aa976d2efa2bf85bccddadd3390e2892ea3a9.tar.gz |
Intermediate changes
x-stable-origin-commit: 0625cde2edaa58c9b3bc15294cc849f406362ef9
Diffstat (limited to 'contrib/libs')
-rw-r--r-- | contrib/libs/protobuf/src/google/protobuf/parse_context.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/libs/protobuf/src/google/protobuf/parse_context.cc b/contrib/libs/protobuf/src/google/protobuf/parse_context.cc index a1995b6c1e..6559212135 100644 --- a/contrib/libs/protobuf/src/google/protobuf/parse_context.cc +++ b/contrib/libs/protobuf/src/google/protobuf/parse_context.cc @@ -392,7 +392,8 @@ void PrintUTF8ErrorLog(const char* field_name, const char* operation_str, bool emit_stacktrace); bool VerifyUTF8(StringPiece str, const char* field_name) { - if (!IsStructurallyValidUTF8(str)) { + if (!IsStructurallyValidUTF8(str) && strcmp(field_name, "Ydb.Topic.StreamReadMessage.ReadResponse.MessageData.message_group_id") + && strcmp(field_name, "Ydb.Topic.StreamReadMessage.ReadResponse.Batch.producer_id")) { PrintUTF8ErrorLog(field_name, "parsing", false); return false; } |