google-protobuf 3.21.11-x86-linux → 3.21.12-x86-linux

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of google-protobuf might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff28dc4bb8cd8cf541569fa85e7cf86006a4e65abd35e6269305fa0f553cf713
4
- data.tar.gz: 0aaf9d69afdb71c9a809aa60af46ab04f61357baab250036a923ec78808c26f1
3
+ metadata.gz: f0fb609ea8572ecc89d0e2712f87adb8f4414c8eb9483a72d3707e1f7a878ff0
4
+ data.tar.gz: a589992d1e99605ce603e5748426a807cad4cbb78e81e89cc18e9653b7f52194
5
5
  SHA512:
6
- metadata.gz: a5eec6e3b072f90c5da65874e3119440f3e52035e72b8d5c775ea7cbf705734b2952138112c42f8ece43c4b5fbb76b748cfbf24c563ba41563c1893ac32790fd
7
- data.tar.gz: f1bf2e2c19854a6df80d485e4b5c63335f4f5aa77f6b20d11e95b279c305df360310311b167093fcd32df8816c64ff180e9ecaacc88268097fc44db8dc6ce908
6
+ metadata.gz: 86052d74448576e42463df91b5e7caa74b4044aef923c50802fe3c1a302510cf5e2b44788040bfa2baacb715d22cc955afef8375b9ae91fcfff217c5cb89776c
7
+ data.tar.gz: 5cedba38852c4dc9c258e4f0c4cef974d8830b3d2444e7e697afae72fdc51adb90e1da39fddb3f1254ed5efbd1b2b9eebb119aaefd6c51b558f06d25cfaeb4bc
@@ -5814,7 +5814,6 @@ upb_EnumReservedRange* _upb_EnumReservedRanges_New(
5814
5814
  google_protobuf_EnumDescriptorProto_EnumReservedRange_start(protos[i]);
5815
5815
  const int32_t end =
5816
5816
  google_protobuf_EnumDescriptorProto_EnumReservedRange_end(protos[i]);
5817
- const int32_t max = kUpb_MaxFieldNumber + 1;
5818
5817
 
5819
5818
  // A full validation would also check that each range is disjoint, and that
5820
5819
  // none of the fields overlap with the extension ranges, but we are just
@@ -5822,7 +5821,7 @@ upb_EnumReservedRange* _upb_EnumReservedRanges_New(
5822
5821
 
5823
5822
  // Note: Not a typo! Unlike extension ranges and message reserved ranges,
5824
5823
  // the end value of an enum reserved range is *inclusive*!
5825
- if (start < 1 || end < start || end > max) {
5824
+ if (end < start) {
5826
5825
  symtab_errf(ctx, "Reserved range (%d, %d) is invalid, enum=%s\n",
5827
5826
  (int)start, (int)end, upb_EnumDef_FullName(e));
5828
5827
  }
@@ -7855,7 +7854,7 @@ static void create_fielddef(
7855
7854
  CHK_OOM(
7856
7855
  upb_strtable_insert(&oneof->ntof, name.data, name.size, v, ctx->arena));
7857
7856
  } else {
7858
- if (f->proto3_optional_) {
7857
+ if (f->proto3_optional_ && !is_extension) {
7859
7858
  symtab_errf(ctx, "field with proto3_optional was not in a oneof (%s)",
7860
7859
  f->full_name);
7861
7860
  }
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-protobuf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.21.11
4
+ version: 3.21.12
5
5
  platform: x86-linux
6
6
  authors:
7
7
  - Protobuf Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-08 00:00:00.000000000 Z
11
+ date: 2022-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler-dock
@@ -113,7 +113,7 @@ homepage: https://developers.google.com/protocol-buffers
113
113
  licenses:
114
114
  - BSD-3-Clause
115
115
  metadata:
116
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.11/ruby
116
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.12/ruby
117
117
  post_install_message:
118
118
  rdoc_options: []
119
119
  require_paths: