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

Fixes for GUnixFDList related issues #1506

Merged
merged 9 commits into from
Nov 14, 2024
Merged

Fixes for GUnixFDList related issues #1506

merged 9 commits into from
Nov 14, 2024

Conversation

swick
Copy link
Contributor

@swick swick commented Nov 5, 2024

No description provided.

src/clipboard.c Outdated Show resolved Hide resolved
@swick
Copy link
Contributor Author

swick commented Nov 13, 2024

@jadahl ping

@jsparber
Copy link
Contributor

lgtm

This also makes sure the selection_read_done won't crash when the
backend call fails.
This allows passing in a GVariant and GUnixFDList directly from the DBus
APIs without having to do pre condition checking in the caller.
Mostly by assining to an owning g_autofd variable. It also makes sure
the variables get cleared to -1 where applicable.

This also includes a change to take a lock before accessing the data
protected by the lock.
@jadahl jadahl enabled auto-merge (rebase) November 14, 2024 09:27
@jadahl jadahl merged commit bf56e85 into flatpak:main Nov 14, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triaged
Development

Successfully merging this pull request may close these issues.

3 participants