UPSTREAM PR #26906: Reject overflowing descriptor allocation plans#140
UPSTREAM PR #26906: Reject overflowing descriptor allocation plans#140loci-dev wants to merge 1 commit into
Conversation
OverviewAnalysis of 10,168 functions (37 modified, 7 new, 3 removed) shows modest compile-time performance regressions from security hardening that adds integer overflow protection to descriptor allocation planning. Changes affect protoc compilation phase only—runtime message parsing/serialization hot paths remain unaffected. Binary: build.protoc-stable
Function AnalysisMost Impacted Functions:
Source Code Changes: Performance Improvements: Justification: 💬 Questions? Tag @loci-dev |
fa3f834 to
96f6b2a
Compare
d1d44f5 to
f292971
Compare
Note
Source pull request: protocolbuffers/protobuf#26906
This change makes DescriptorPool allocation planning fail cleanly when large descriptor counts would overflow flat-allocation byte accounting.
Changes: