Repository navigation
Pass the full map buffer size to every TdhGetEventMapInformation call - #2513
Open
John U (jdu2600) wants to merge 1 commit into
Open
John U (jdu2600) wants to merge 1 commit into
John U (jdu2600) wants to merge 1 commit into
Conversation
Brian Robbins (brianrob)
left a comment
Member
There was a problem hiding this comment.
Recommendation
Approval Recommended
Reviewed commit 47fe40b5.
PR: #2513
Base: 8ba00fcc2ab6706850b5eb45464b91b83d7c39e7; Head: 47fe40b5d6bbe48a6fddb384e0c326c06776171d
Areas Reviewed
- TDH map-buffer capacity, native allocation and manifest map references.
- Windows regression assertions and the legacy comparison helper.
- No material architecture or dependency change; existing TDH ownership, public APIs and manifest format are preserved.
Areas Requiring Human Review
- None.
Code Review Feedback
No defects identified in the completed coverage.
Written by Robert Bobby (Brianrob's Code Review Bot).
Brian Robbins (brianrob)
previously approved these changes
Dec 1, 2026
Brian Robbins (brianrob)
left a comment
Member
There was a problem hiding this comment.
LGTM. Thanks!
Member
|
John U (@jdu2600) would you mind rebasing these changes? Thanks. |
GetManifestForRegisteredProvider passed one buffSize variable by reference to every map lookup. TDH sets it to the bytes it used, so a map larger than the previous one failed with ERROR_INSUFFICIENT_BUFFER and was left out, and the fields that used it lost their map attribute. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
John U (jdu2600)
force-pushed
the
worktree-fix-map-buffer-size
branch
from
December 1, 2026 07:28
47fe40b to
89be2d0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GetManifestForRegisteredProviderpassed onebuffSizevariable by reference to everyTdhGetEventMapInformationcall. TDH sets it to the bytes it used, so a map larger than the previous one failed withERROR_INSUFFICIENT_BUFFERand was left out, along with themapattribute of every field that used it.Microsoft-Windows-DotNETRuntime event 9 (GCSuspendEEStart), before:
After:
Maps whose entry strings contain inserts (e.g.
"Uninitialized (%1)"in DxgKrnl'sDXGK_DISPLAYMUX_SUPPORT_LEVEL) are still missing: TDH fails to load them withERROR_INVALID_PARAMETER, and there is no known supported way to recover them.🤖 Generated with Claude Code