-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
XDG_CONFIG_HOME not used / potential overflow #64
Comments
Thanks! I fixed that bug, but I didn't feel that it was necessary to merge your entire patch for several reasons. |
Okay... |
Well, to elaborate:
So, not worth the effort. |
Apparently it wasn't worth my effort either. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a patch for this but as I'm in work I can't build and test it - https://gist.github.com/steven-jackson/b388215f239af9f9bfe0
sway/config.c Lines 43 and 96
As you can see the home variable is copied to temp, but xdg_config_home contains the path that should be copied. If home is larger than xdg_config_home then an overflow can occur.
The text was updated successfully, but these errors were encountered: