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

Fix zeroing protocolVersion capability #10130

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

dolfinus
Copy link
Contributor

@dolfinus dolfinus commented Apr 23, 2024

Closes: #10059

Issue introduced here:
7cef0cb8d#diff-23782638b8d86b1e888e5cc37a2b4789ddc107c5321803ab4bce2b99563c7aebL253

In 2.x protocolVersion capability send to server was a constant value CAPS_PROTOCOL_VERSION = 0x0200.
Changes in 3.0.0 intended to use server protocol version, but instead a literal 0 was send. This lead to closing RDP connection from server side in some server implementations.

@freerdp-bot
Copy link

Can one of the admins verify this patch?

Copy link

clang-tidy review says "All clean, LGTM! 👍"

@dolfinus dolfinus changed the title Fix protocolVersion capability reset Fix zeroing protocolVersion capability Apr 23, 2024
Copy link
Member

@akallabeth akallabeth left a comment

Choose a reason for hiding this comment

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

LGTM,
really nice catch!

@akallabeth akallabeth added this to the next-3.0 milestone Apr 23, 2024
@akallabeth
Copy link
Member

@freerdp-bot test

@freerdp-bot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://ci.freerdp.com//job/PullRequestTester/11874/

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.

[server terminates connection] Upgrading from 2.x to 3.x SSL read errors after connect
3 participants