google-protobuf 3.21.11-x64-mingw32 → 3.21.12-x64-mingw32

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: 4cd343f765254e03c46a5eba2d1b523af4d55329292759381af90f60fcca0f3c
4
- data.tar.gz: 1bda5017a06fc76a0d3a2836f998428c9e61293279fd9a8bcc12784aac471494
3
+ metadata.gz: e8f5bc2bfa63b1484bccc36bd26ea9a4cb8915f81105c0f5bef3176f2c3deb90
4
+ data.tar.gz: e5a4e172257043e69d7c059cd78ad7ec67a3ece76f808b12d4872a3dd37f552f
5
5
  SHA512:
6
- metadata.gz: d532a4a196135c67c70c7eefef53888a2b99ebdc9b9522cdfc07ec06909071c4898b0ef3b9f1df798a2cae3730a1667e81dfd7537a55c8b4591ac64efb08941b
7
- data.tar.gz: 06f81189d60429ac1f9ce10dd8c1d2287a899f24f316ae2eecf6617ce3b59747a8e76436ba2a763e5ce02e40fc85d81e1177b851b35e5855e03d65d1d65aeebe
6
+ metadata.gz: c6069a4fa789bc9e26d7e965a0400722cadcab25e3d901e75337f6da0300c3259369b6f9732c11a1f99698c5843e4d31393e85d4cebb655c187fe2cf4101a0af
7
+ data.tar.gz: 5147544a321c645627167e8d32560f5662eb2e5a39dfc5ce6ecdb0d0c11a74184a4e8ff6226abb4630f49a7fcb07c198ce855b69b7c0fd18c9a525c7887cee91
@@ -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
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-mingw32
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
@@ -112,7 +112,7 @@ homepage: https://developers.google.com/protocol-buffers
112
112
  licenses:
113
113
  - BSD-3-Clause
114
114
  metadata:
115
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.11/ruby
115
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.12/ruby
116
116
  post_install_message:
117
117
  rdoc_options: []
118
118
  require_paths: