This will ensure that the message is using the correct reflection object, rather than just the correct descriptor. This distinction only matters with dynamic messages, where multiple reflection objects can exist for the same descriptor. Failing to pass this check can lead to UB and crashes. PiperOrigin-RevId: 535351694pull/12898/head
parent
65d987f802
commit
eb5e9e01d9
2 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue