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

Ensure cmd.SysProcAttr is set before modifying it #275

Merged
merged 1 commit into from
Aug 7, 2018

Conversation

Uvedale
Copy link
Contributor

@Uvedale Uvedale commented Aug 3, 2018

A segfault was introduced by #271 because cmd.SysProcAttr can be referenced before it has been set in the case where config.User is not blank.

This caught me out while trying to use the gradle image which sets a user. I verified that the segfault no longer occurs after this change.

Copy link
Collaborator

@priyawadhwa priyawadhwa left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

@priyawadhwa priyawadhwa merged commit 2261adc into GoogleContainerTools:master Aug 7, 2018
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