google-protobuf 4.34.0.rc.2-java → 4.34.1-java
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 +4 -4
- data/ext/google/protobuf_c/ruby-upb.c +5 -1
- data/lib/google/protobuf_java.jar +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 52878151654c1886d77d136e408bc28bff52a3119ff832f366a9e72bc83d5619
|
|
4
|
+
data.tar.gz: 98300c95b647f1674d2b6136cdbf1db3c8046745149d06c0cea93ff384a72b25
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e5ae49a811ec06a31ff08705b48a8f8ff2c45ef010e1e6780c56d3b606b08ccfe0e60106969d769c5e2fdfb8a917c6dadc514397376fb633961e4dd585847dea
|
|
7
|
+
data.tar.gz: 7e51d5ba7cbca50016a346294fe8a095196f24ac925e6e11c4e0b2656e45d8457603e061fc7b2adba1fa61be3bf9ab0e8242dc92b78ce4a8fcba539166359a40
|
|
@@ -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
|
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.
|
|
4
|
+
version: 4.34.1
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Protobuf Authors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-03-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -202,7 +202,7 @@ homepage: https://developers.google.com/protocol-buffers
|
|
|
202
202
|
licenses:
|
|
203
203
|
- BSD-3-Clause
|
|
204
204
|
metadata:
|
|
205
|
-
source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v4.34.
|
|
205
|
+
source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v4.34.1/ruby
|
|
206
206
|
post_install_message:
|
|
207
207
|
rdoc_options: []
|
|
208
208
|
require_paths:
|
|
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
218
218
|
- !ruby/object:Gem::Version
|
|
219
219
|
version: '0'
|
|
220
220
|
requirements: []
|
|
221
|
-
rubygems_version: 3.
|
|
221
|
+
rubygems_version: 3.3.26
|
|
222
222
|
signing_key:
|
|
223
223
|
specification_version: 4
|
|
224
224
|
summary: Protocol Buffers
|