google-protobuf 4.34.0.rc.2-x86_64-linux-gnu → 4.34.0-x86_64-linux-gnu

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: c290b96fadbf9dd7245443e7d5fe3739aaf997db9ec033c7bbe35c5cae98d099
4
- data.tar.gz: 5a99e5e754a71d9570fcf48198829c121a9d5528ec39229f56ede2925775bb1b
3
+ metadata.gz: 7ad7d5ca9ed7c5f38f0a583e7165751944aa80c9cab19e0464824f3da9553685
4
+ data.tar.gz: 5ac4c540ef94dd214a9f76faf8cadc9f9399677c87a1493362d34a2d15bde64a
5
5
  SHA512:
6
- metadata.gz: 1f9a990a516a4c6ae9723f8e747d3ccda369a4bad0aee118ea419e2bf5b4efb181bd40dbb6889d8392d14a457ebc8a43e823fa3a1738d2f7c04c2adc30675c4e
7
- data.tar.gz: d9e36c8f607dfaa60abe857a07aaee6571fb7a771269f49cd4ad1c2eca0523bb75b51525208e550e26742b46ead3f1777348331452ecd522212ee6e074fbf70b
6
+ metadata.gz: 9360fbec3162588a1ee341f0848a67abeac7b176bb3c6eb80de6db9d6443cdb28ca3915a6952d820a91429b73f873cf3b5834115d40dc0fb8c646249065988e0
7
+ data.tar.gz: 1154d88cd91240010823e8a4cbea81278f13aee9b5cfc42f5fa23691c81621e44eb4990be9ef6aa54004e8f1ead500a610ad830376836d2cb6e344e6129a8566
@@ -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
  }
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
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: x86_64-linux-gnu
6
6
  authors:
7
7
  - Protobuf Authors
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-02-05 00:00:00.000000000 Z
10
+ date: 2026-02-25 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bigdecimal
@@ -185,7 +185,7 @@ homepage: https://developers.google.com/protocol-buffers
185
185
  licenses:
186
186
  - BSD-3-Clause
187
187
  metadata:
188
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v4.34.0-rc2/ruby
188
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v4.34.0/ruby
189
189
  rdoc_options: []
190
190
  require_paths:
191
191
  - lib