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

Keep environment for execve + pop variables from environment #10

Merged
merged 1 commit into from
Nov 16, 2021
Merged

Keep environment for execve + pop variables from environment #10

merged 1 commit into from
Nov 16, 2021

Conversation

AbcSxyZ
Copy link
Contributor

@AbcSxyZ AbcSxyZ commented Nov 16, 2021

I thought removing the environment could be a great idea for security, for executable arguments at least. I was doubting and think I was wrong, it may bring to some unexpected behavior if some environment variables are needed.

Actually, I don't even know if the core use environment variable, but probably x)

Just removing environment variables passed through docker run for the executable, and leave it as it is after that.

Copy link
Member

@patricklodder patricklodder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested ACK, this works well.

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.

2 participants