Skip to content

Conversation

@AlexMartigny
Copy link
Contributor

Windows 11 Build 26200+ sends an 80-byte MsvAvSingleHost structure instead of the traditional 48 bytes. Per MS-NLMP specification, fields after MachineID MUST be ignored on receipt.

This change:

  • Changes SingleHost from fixed [u8; 48] to Vec
  • Relaxes validation from == 48 to >= 48 bytes
  • Preserves full data for round-trip serialization

Fixes RDP credential injection failures when clients use Windows 11 Build 26200 or later.

@AlexMartigny AlexMartigny force-pushed the fix/single-host-variable-length branch from 09d783d to 80c6712 Compare January 5, 2026 20:01
@AlexMartigny
Copy link
Contributor Author

Windows 11 Build 26200+ sends an 80-byte MsvAvSingleHost structure
instead of the traditional 48 bytes. Per MS-NLMP specification,
fields after MachineID MUST be ignored on receipt.

This change:
- Changes SingleHost from fixed [u8; 48] to Vec<u8>
- Relaxes validation from == 48 to >= 48 bytes
- Preserves full data for round-trip serialization

Fixes RDP credential injection failures when clients use
Windows 11 Build 26200 or later.
@AlexMartigny AlexMartigny force-pushed the fix/single-host-variable-length branch from 80c6712 to 5ac8c58 Compare January 5, 2026 20:13
@mamoreau-devolutions mamoreau-devolutions merged commit 28f8d74 into master Jan 5, 2026
63 checks passed
@mamoreau-devolutions mamoreau-devolutions deleted the fix/single-host-variable-length branch January 5, 2026 20:22
Copy link
Member

@CBenoit CBenoit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheBestTvarynka Can you double check this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants