google-protobuf 4.34.0.rc.2 → 4.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c20bcb350da6b625b901124fe512bb71589edfde192161b7f4d4ccd34cc6729
4
- data.tar.gz: a8d0d3eedda9c42804442707f45750d4ce289cc80baa9380d0cad283f762c2d6
3
+ metadata.gz: b04cf447a826a66a7a93311ac48c71b3a4553d5bf2d091cd3a636a24f36fcb6c
4
+ data.tar.gz: 6f44c323dccd1d287e6f98184abd2461d3cdf7b24f9d50be582a568675b7381c
5
5
  SHA512:
6
- metadata.gz: 0aeee350032674d7e4a184b28f2915e455dc9a68564b38df9e3d721bec275102c99a43e5375a016ecb1837a0226e448949d3c2fd50bac7c780d093577d7ca57f
7
- data.tar.gz: 1ff6579e0d2dfe17e470bcc804abcfa737f085b2493320e2d7490a0dc911a6ce126b4fec0399be87dfb08c00ca67c172091d9516901d2e5d9eb0fb0ea0866f29
6
+ metadata.gz: 0c76dcc5faa96b3c883e6eb38cfc434882fe92d99f4c2dd0cba5258242912970543708230f7a5fd9fa0fbc7ce5e07b8480544121ebbd4d11ca3915df95edb4f3
7
+ data.tar.gz: 2ffae4c325b12c944d21c59226d5ea61c1af78eb4bb28e88ed8837d41f394185b7cfcd8993023195360be60497579b5a3824919894e750b49deefeb285d58ad9
@@ -16168,9 +16168,13 @@ static void upb_Decoder_AddKnownMessageSetItem(
16168
16168
  upb_Message* submsg = _upb_Decoder_NewSubMessage2(
16169
16169
  d, ext->ext->UPB_PRIVATE(sub).UPB_PRIVATE(submsg),
16170
16170
  &ext->ext->UPB_PRIVATE(field), submsgp);
16171
+ // upb_Decode_LimitDepth() takes uint32_t, d->depth - 1 can not be negative.
16172
+ if (d->depth <= 1) {
16173
+ upb_ErrorHandler_ThrowError(&d->err, kUpb_DecodeStatus_MaxDepthExceeded);
16174
+ }
16171
16175
  upb_DecodeStatus status = upb_Decode(
16172
16176
  data, size, submsg, upb_MiniTableExtension_GetSubMessage(item_mt),
16173
- d->extreg, d->options, &d->arena);
16177
+ d->extreg, upb_Decode_LimitDepth(d->options, d->depth - 1), &d->arena);
16174
16178
  if (status != kUpb_DecodeStatus_Ok) {
16175
16179
  upb_ErrorHandler_ThrowError(&d->err, status);
16176
16180
  }
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: 4.34.0.rc.2
4
+ version: 4.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Protobuf Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-05 00:00:00.000000000 Z
11
+ date: 2026-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal
@@ -183,7 +183,7 @@ homepage: https://developers.google.com/protocol-buffers
183
183
  licenses:
184
184
  - BSD-3-Clause
185
185
  metadata:
186
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v4.34.0-rc2/ruby
186
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v4.34.0/ruby
187
187
  post_install_message:
188
188
  rdoc_options: []
189
189
  require_paths: