google-protobuf 3.19.3-x86-linux → 3.19.5-x86-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: 0b43c6864b790be94b17f81127bd81a92116224229ee86000d979fdef15768d8
4
- data.tar.gz: 9e500bb4bb30cfa13782d2cdc4f07a1c064b473de3170f60d17303db1ff9a1de
3
+ metadata.gz: '090a31349d2ab7984f8b409c929b5142d6d13918a9e34b6e528436b4c81d2373'
4
+ data.tar.gz: 4dcf59e977e492165820c45bb1d41fe814b41bcc21a42f451580f38c1cfc602f
5
5
  SHA512:
6
- metadata.gz: df88fe701b7e44e3a2275f00a964aa71c00c2f38bcbe9660aa9e06adc6adb13e63c92fa2de522fd35b838baa997f536502f0839d20b546585db95eb81b887a91
7
- data.tar.gz: 37c294981cfaeb4ad5ec06bc333509e1dc77e9eaea65ff9277faeb3f74a4f7c5616318d1f42c59254788279e4ab7c41c592e2f20e61701454f47540c113ab905
6
+ metadata.gz: d8e9757792c7269f0f60d1411a9e1212a92a1bae1b5268973044ca40d96273ad9bac8c0c01f9f463af5bda27d66137d160a22fc3e7d5404b8cc7a323ee6cca5f
7
+ data.tar.gz: aeaf8f7b511aadbc101f1451a603fa8fc83741b09ebca8b1c6b1d08b1f4d88694edb02794979a7917e158c3ec77ca7386b5bf3f616f4baa45536f69cea045ef4
@@ -5583,7 +5583,7 @@ static void make_layout(symtab_addctx *ctx, const upb_msgdef *m) {
5583
5583
  }
5584
5584
 
5585
5585
  /* Account for space used by hasbits. */
5586
- l->size = div_round_up(hasbit, 8);
5586
+ l->size = div_round_up(hasbit + 1, 8);
5587
5587
 
5588
5588
  /* Allocate non-oneof fields. */
5589
5589
  for (upb_msg_field_begin(&it, m); !upb_msg_field_done(&it);
Binary file
Binary file
Binary file
Binary file
data/tests/basic.rb CHANGED
@@ -71,6 +71,14 @@ module BasicTest
71
71
  TestMessage.encode(msg)
72
72
  end
73
73
 
74
+ def test_issue_9440
75
+ msg = HelloRequest.new
76
+ msg.id = 8
77
+ assert_equal 8, msg.id
78
+ msg.version = '1'
79
+ assert_equal 8, msg.id
80
+ end
81
+
74
82
  def test_has_field
75
83
  m = TestSingularFields.new
76
84
  assert !m.has_singular_msg?
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.19.3
4
+ version: 3.19.5
5
5
  platform: x86-linux
6
6
  authors:
7
7
  - Protobuf Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler-dock
@@ -107,7 +107,7 @@ homepage: https://developers.google.com/protocol-buffers
107
107
  licenses:
108
108
  - BSD-3-Clause
109
109
  metadata:
110
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.19.3/ruby
110
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.19.5/ruby
111
111
  post_install_message:
112
112
  rdoc_options: []
113
113
  require_paths: