Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for empty fields in TS_EXTENDED_INFO_PACKET #2855

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

matt335672
Copy link
Member

Fixes #2853

Tested by @derekschrock

Some clients appears to be sending cbClientAddress and/or cbClientDir as 0 in the TS_EXTENDED_INFO_PACKET. This appears to be at odds with [MS-RDPBCGR] which requires mandatory terminators for these fields.

This PR addresses this by not parsing the fields we are not currently using. Additionally, a few ints have been made unsigned to simplify length checks for incoming data.

Some clients appears to be sending cbClientAddress and/or cbClientDir
as 0 in the TS_EXTENDED_INFO_PACKET. This appears to be at odds with
[MS-RDPBCGR] which requires mandatory terminators for these fields.
@matt335672 matt335672 merged commit 64b347d into neutrinolabs:devel Nov 13, 2023
13 checks passed
@matt335672 matt335672 deleted the fix_issue_2853 branch November 13, 2023 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERROR reading clientDir with macOS MS Remote Desktop.app with devel
1 participant