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

Xauthority file parsed incorrectly #31

Open
Meep3692 opened this issue May 11, 2024 · 2 comments
Open

Xauthority file parsed incorrectly #31

Meep3692 opened this issue May 11, 2024 · 2 comments

Comments

@Meep3692
Copy link

The current implementation reads the display number as a UTF-8 string but it should read it as a length-prefixed ASCII string. It should be noted that on my system, the length of this string is 0 for some reason. I can't find any information on what to use in this case, but I think just using 0 should be fine.

Reference: https://gitlab.freedesktop.org/xorg/lib/libxau/-/tree/master?ref_type=heads (The file format is described in the readme near the bottom)

@moaxcp
Copy link
Owner

moaxcp commented May 15, 2024

Thanks for the reference! I don't think I have seen it. I will look into it and use 0 if the length is 0.

Edit: right now I am splitting the project into modules and upgrading to jdk 21. I will merge it when I find time.

@moaxcp
Copy link
Owner

moaxcp commented Jul 31, 2024

This should be fixed in 0.18.2.

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

No branches or pull requests

2 participants