Skip to content

Commit 3094f87

Browse files
Auto-generate files after cl/953447806
1 parent beb01ec commit 3094f87

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

php/ext/google/protobuf/php-upb.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17404,6 +17404,9 @@ UPB_INLINE const char* upb_WireReader_SkipGroup(
1740417404
UPB_FORCEINLINE const char* _upb_WireReader_SkipValueForceInline(
1740517405
const char* ptr, uint32_t tag, int depth_limit,
1740617406
upb_EpsCopyInputStream* stream) {
17407+
if (UPB_UNLIKELY((tag >> 3) == 0)) {
17408+
return UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(stream);
17409+
}
1740717410
switch (upb_WireReader_GetWireType(tag)) {
1740817411
case kUpb_WireType_Varint:
1740917412
return upb_WireReader_SkipVarint(ptr, stream);

ruby/ext/google/protobuf_c/ruby-upb.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17151,6 +17151,9 @@ UPB_INLINE const char* upb_WireReader_SkipGroup(
1715117151
UPB_FORCEINLINE const char* _upb_WireReader_SkipValueForceInline(
1715217152
const char* ptr, uint32_t tag, int depth_limit,
1715317153
upb_EpsCopyInputStream* stream) {
17154+
if (UPB_UNLIKELY((tag >> 3) == 0)) {
17155+
return UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(stream);
17156+
}
1715417157
switch (upb_WireReader_GetWireType(tag)) {
1715517158
case kUpb_WireType_Varint:
1715617159
return upb_WireReader_SkipVarint(ptr, stream);

0 commit comments

Comments
 (0)