Repository navigation
Revert "Revert "Do not allocate from peer-declared sizes when reading settings from the Native protocol"" - #120931
Conversation
… settings from the Native protocol""
|
Workflow [PR], commit [4137c11] Summary: ✅
AI ReviewSummaryThis PR reverts #120930 and restores Final Verdict✅ No blocking or major issues found in the current diff. The revert restores the intended hardening and the added tests cover the relevant decoding shapes. LLVM Coverage ReportMeasured on commit 4137c11.
Changed lines: Changed C/C++ lines covered: 115/128 (89.84%) · Uncovered code |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units6 translation units recompiled, 4 s compile time in total, 6 of them have a recent master baseline. |
Backport #120931 to 26.9: Revert "Revert "Do not allocate from peer-declared sizes when reading settings from the Native protocol""
…ypick/26.7/120931 Resolve the conflict in `src/Core/tests/gtest_settings.cpp` by taking the 26.7 version of the file and adding only the tests and includes introduced by #120931; the master-only tests in the conflicting hunk are not part of this backport. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Cherry pick #120931 to 26.7: Revert "Revert "Do not allocate from peer-declared sizes when reading settings from the Native protocol""
…eclared sizes when reading settings from the Native protocol""
Cherry pick #120931 to 26.8: Revert "Revert "Do not allocate from peer-declared sizes when reading settings from the Native protocol""
…eclared sizes when reading settings from the Native protocol""
Resolve the conflict in `src/Core/tests/gtest_settings.cpp`: take the 26.3 version of the file and add the tests from #120931. The release branch has no `CurrentMemoryTracker::setMinAllocationSizeBytesToThrow` (so `operator new` never throws on the memory limit there), so the tests now read the settings in a separate thread with its own `ThreadStatus` and check the peak of its memory tracker instead of arming a memory limit.
Cherry pick #120931 to 26.3: Revert "Revert "Do not allocate from peer-declared sizes when reading settings from the Native protocol""
…eclared sizes when reading settings from the Native protocol""
Backport #120931 to 26.8: Revert "Revert "Do not allocate from peer-declared sizes when reading settings from the Native protocol""
Backport #120931 to 26.7: Revert "Revert "Do not allocate from peer-declared sizes when reading settings from the Native protocol""
Backport #120931 to 26.3: Revert "Revert "Do not allocate from peer-declared sizes when reading settings from the Native protocol""
…rom peer-declared sizes when reading settings from the Native protocol""
Reverts #120930
Workflow [PR]
Sync PR [sync-upstream/pr/120931]
Version info
26.10.1.144-master(included in26.10and later)26.9.13.12,26.8.21.7,26.7.25.6,26.3.45.2