Skip to content

Commit

Permalink
4.28.0RC1 sync
Browse files Browse the repository at this point in the history
  • Loading branch information
protobuf-team-bot committed Jul 11, 2024
1 parent 1b9bfea commit 90e66b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Google/Protobuf/Internal/FieldOptions.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/Google/Protobuf/Internal/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@ private static function parseFieldFromStreamNoTag($input, $field, &$value)
}
break;
case GPBType::STRING:
// TODO: Add utf-8 check.
// We don't check UTF-8 here; that will be validated by the
// setter later.
if (!GPBWire::readString($input, $value)) {
throw new GPBDecodeException(
"Unexpected EOF inside string field.");
Expand Down

0 comments on commit 90e66b2

Please sign in to comment.