Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Ensure cmd.SysProcAttr is set before modifying it#275

Merged
priyawadhwa merged 1 commit intoGoogleContainerTools:masterfrom
Uvedale:master
Aug 7, 2018
Merged

Ensure cmd.SysProcAttr is set before modifying it#275
priyawadhwa merged 1 commit intoGoogleContainerTools:masterfrom
Uvedale:master

Conversation

@Uvedale
Copy link
Copy Markdown
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
Copy Markdown
Contributor

@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants