google-protobuf 3.21.11-x86_64-darwin → 3.21.12-x86_64-darwin

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: aa397d362b3140cff75420bf8d09d7af5ed870d499cf3c55368ee0792c8e1d87
4
- data.tar.gz: 5f2623f8792ad3f2cda40d245b4d951a89161c2cb8054db92e760e6272c99bba
3
+ metadata.gz: ec361df30202e8e09f1b2a997d675de781afe563c4d2188e194b04b65d9cbdf2
4
+ data.tar.gz: 8a8f10370e8f85c80803920feb04dc3da917e6af5a2edba033e815b6465cc305
5
5
  SHA512:
6
- metadata.gz: c4aec6a63f72901a5ea34d1615027f453685d3d8b819da2a1762f0762e3b9cfb2f2201245f63599d6f2d451af804bbd6945a122ba2ae9493ab9eecf8536a3723
7
- data.tar.gz: 043fb5d8fffad6bfd3d8a688167b14e3f1dad889d54f93e52f10dfd7018c38d0c1b1c32ee99cc71ee10378e8a2cd15214d897039e3308ff229e5328b3e0fc329
6
+ metadata.gz: b5f8b35778d8bc21b7ee3035c84a9bc9773e8c5b4338fa2d6bf4599b535e37321931ade6705998a11e0d725016b851c43f2456ace6ad3726a54b9ccba02a2070
7
+ data.tar.gz: c89812f486aa016e7096c17217f76de4df875ec25cdb46f791e284d637db2a03fcd9e624a321380f99b3acee048f5b047ea9613791e2dc955588d533da590e5f
@@ -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_64-darwin
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: