SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 2 C++

Make FieldMaskTree paths that have no other type they are corecursive with (message or descriptor) avoid blowing the C++ stack.

This improves behavior when reached with arbitrarily long field paths.

Cases that are bounded by a Message* or Descriptor* depth are not expected to be protected; those cases we enforce depth limits at parse time and it is up to the caller to handle depth risks of in-memory constructed objects.

https://github.com/protocolbuffers/protobuf/issues/26489

PiperOrigin-RevId: 892562508
P
Protobuf Team Bot committed
f741d393b16429d75188d1ce42b4e2d874052d69
Parent: 919d0aa
Committed by Copybara-Service <copybara-worker@google.com> on 3/31/2026, 10:15:33 PM