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

GUACAMOLE-1140: Address RDP pipe svc race condition. #471

Closed
wants to merge 123 commits into from

Conversation

necouchman
Copy link
Contributor

This PR attempts to address the race condition associated with the RDP client join handler and the pipe svc attempt to access the available_svc member of the rdp_client data structure. I've taken both suggestions in one of the Jira tickets for 1) acquiring the overall lock and 2) doing a NULL check around available_svc before attempting to access it.

It's worth noting that simply acquiring the lock on its own within the guac_rdp_join_pending_handler() function does not actually resolve the problem - the NULL check is required. So, I'm not sure in the lock is actually worth anything, or if there's somewhere else (around the SFTP connection, maybe?) that the lock should also be acquired?

necouchman and others added 30 commits December 27, 2021 09:42
…mentation is resized when desktop is resized.
…end_sync().

The new guac_protocol_send_sync() requires an additional parameter: the
number of logical frames associated with the sync.
mike-jumper and others added 27 commits June 13, 2023 09:14
Those will be made nodiscard at some point anyway.
@jmuehlner
Copy link
Contributor

Looks like this branch wasn't rebased against staging/1.5.5...

@necouchman
Copy link
Contributor Author

Well, that somehow got completely messed up. Closing this PR to re-open against staging/1.5.5.

@necouchman necouchman closed this Dec 28, 2023
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.