google-protobuf 3.21.11-x86_64-linux → 3.21.12-x86_64-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: ba345580af77ad7bdf89f8d2104fa226544631ba00ad2e1a9efa16722730d8df
4
- data.tar.gz: 975953df6b4f5a847591f22e0c103cda186b7a1e63d21f582e985e592967bb55
3
+ metadata.gz: b1567ecbd03ee30d0af15fc65be6754a90b05e6383e5e97c8345e1f8c58179db
4
+ data.tar.gz: d99cb7b7b52c75985e0360573a64a76982b3e10661d718d745ce0e85bf1d545c
5
5
  SHA512:
6
- metadata.gz: 3f734617cf877ee2c7f1b79f16a083fa1e2c4fe651ed58ce39056ffce63f5e4164c99c950e1b9128bd3abbff06846ccdeb52e78f8386ccced58ca4d4f372a945
7
- data.tar.gz: f13d75c128f3880ee8fcf8cf74ba632d64fff4e9cca062bcf71b9f318147057e059a12955b27cc6b873778f76ce20299467904f890752846836f9658ff3c0239
6
+ metadata.gz: 2e43d4f35f260d57817b60b0a67a9ea026c77a6ed0a2bff888eb97a54d8c206fda74b1e241eb61401aaac8ed74b90dddd5105916aabbeaea547c7599e123898d
7
+ data.tar.gz: 7e4c9573af1b8e5439c67645dafa40835286c163fac27845f3e1338b6c9c334cddf21eb8ca6c027328404c9a5d2bfc203d647a6d70131cbbfe3fd7ba3b12bf03
@@ -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-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: