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

Use XDG_CACHE_HOME for xsel.log #15

Merged
merged 5 commits into from
Aug 12, 2016
Merged

Use XDG_CACHE_HOME for xsel.log #15

merged 5 commits into from
Aug 12, 2016

Conversation

valeth
Copy link
Contributor

@valeth valeth commented Nov 21, 2015

Use XDG_CACHE_HOME (or $HOME/.cache if the environment variable is not set)
instead of putting the logfile directly into the users home directory

@kfish kfish merged commit 5249021 into kfish:master Aug 12, 2016
@valeth
Copy link
Contributor Author

valeth commented Oct 23, 2016

@lolilolicon I'm pretty much done with this, feel free to send a patch.

e7appew added a commit to e7appew/xsel that referenced this pull request Mar 29, 2017
kfish#15 introduces some side-effects.
The HOME environment variable is modified, and more likely than not,
it overflows the string's buffer.

Make sure we return the string in memory we've allocated ourselves
to fix this.
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.

3 participants