-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathbazel-v9.0.1.patch
More file actions
28 lines (27 loc) · 1.09 KB
/
bazel-v9.0.1.patch
File metadata and controls
28 lines (27 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/third_party/protobuf.patch b/third_party/protobuf.patch
index 6681897694..90a79a3a99 100644
--- a/third_party/protobuf.patch
+++ b/third_party/protobuf.patch
@@ -45,3 +45,23 @@ index 426bf9124..fd17ac96c 100644
# Amalgamation #################################################################
upb_amalgamation(
+diff --git a/upb/wire/decode.c b/upb/wire/decode.c
+index 6da57877b..3f53a61d4 100644
+--- a/upb/wire/decode.c
++++ b/upb/wire/decode.c
+@@ -488,6 +488,7 @@ static const char* _upb_Decoder_DecodeEnumPacked(
+ _upb_Decoder_AddEnumValueToUnknown(d, msg, field, &elem);
+ continue;
+ }
++ _upb_Decoder_MungeInt32(&elem);
+ if (_upb_Decoder_Reserve(d, arr, 1)) {
+ out = UPB_PTR_AT(upb_Array_MutableDataPtr(arr),
+ arr->UPB_PRIVATE(size) * 4, void);
+@@ -1079,6 +1080,7 @@ const char* _upb_Decoder_DecodeWireValue(upb_Decoder* d, const char* ptr,
+ *op = kUpb_DecodeOp_UnknownField;
+ return ptr;
+ }
++ _upb_Decoder_MungeInt32(val);
+ } else {
+ _upb_Decoder_Munge(field, val);
+ }