google-protobuf 3.21.11-x64-mingw-ucrt → 3.21.12-x64-mingw-ucrt

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: eb139a35482982c573b865c1d51459cb147a5a1973e828faa10608cc7360868a
4
- data.tar.gz: d060493b879065dd049fdeb62d15f2c60ad4a958f846aba1cbf5e1c9cedb3d3a
3
+ metadata.gz: 51941cf0033286c345d82104a3d68c48bfe2c5fcf5f4168f14ec56e2e50f0b9f
4
+ data.tar.gz: be1081c2b81ddeefecb0509b6113844adaf522e0b2e469315140e5a736bd7e09
5
5
  SHA512:
6
- metadata.gz: 81f9f621b71b3d9e3148ef850e765e0678ec58da60f128f86ec8e73473688fd82dcfc910683f69e951f3b28eba6669b26ac758072aaee29ae324bc694569841a
7
- data.tar.gz: 16970147ac12cca8f0a7b0ccd8dac5630847e32c806d62e67450f9a834b0b73674eccef861efff0b7f8d5d287dfaf5fcf5a6a8630b7474547b4c5da500db5fbd
6
+ metadata.gz: 52c47bcaa3c5f4a9f4c7bc7876380d54550b13f0c9e0b4b7e574525a1bf2dfb5c57c5c32008c6fe1cb06628ab66cc3a26677d7ee102dd8ae778dce7112149403
7
+ data.tar.gz: 11d5cfe454939be640b542e134ff0a2702383c1f7938bdee6e705441bc74e727b9047fb6049167c6719fcfa0e0b7e09e4e9720089fe778db8a8893d62a0dcd3a
@@ -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
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: x64-mingw-ucrt
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
@@ -109,7 +109,7 @@ homepage: https://developers.google.com/protocol-buffers
109
109
  licenses:
110
110
  - BSD-3-Clause
111
111
  metadata:
112
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.11/ruby
112
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.12/ruby
113
113
  post_install_message:
114
114
  rdoc_options: []
115
115
  require_paths: