SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 34 C++

Remove Copy+Clone from MessageMutInner.

MessageMutInner was Copy+Clone, which had been convenient for some internal use. But, with them being .into() SomeMessageMut this was a potential footgun, since it was very easy to into() the same one twice which would be formally unsound if it was reachable (including that you could send each of them to a different thread and concurrently modify them).

As these were implementation detail types this is only a defensive fix and no actual soundness issues were identified.

PiperOrigin-RevId: 888615057
P
Protobuf Team Bot committed
002f830c4656c950151ea8abe22f1ae0c535e558
Parent: c7e66c1
Committed by Copybara-Service <copybara-worker@google.com> on 3/24/2026, 12:52:58 PM