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

Prevent recursion into . and .. folders on Alpine Linux #672

Conversation

NathanJPhillips
Copy link
Contributor

No description provided.

@NathanJPhillips
Copy link
Contributor Author

This is the same code @smowton put in for Windows.

@NathanJPhillips
Copy link
Contributor Author

First portability note here is relevant: https://www.gnu.org/software/libc/manual/html_node/Reading_002fClosing-Directory.html

@forejtv
Copy link
Contributor

forejtv commented Mar 22, 2017

@kroening Without this fix, running latest master of goto-cc on Alpine (and maybe other Linux flavours) deletes everything in /.

@kroening kroening merged commit 230c8c5 into diffblue:master Mar 22, 2017
@NathanJPhillips NathanJPhillips deleted the bugfix/alpine-linux-directory-recursion branch March 22, 2017 14:41
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